Skip to content

Commit

Permalink
add: new budget gloves mechanic (#5767)
Browse files Browse the repository at this point in the history
* Попытка намбер ван

* Спасибо господь что звей такой охуенный, нам так повезло жить с ним на одном серве. Он реально легенда голос всех кодербусов. На колени, на колени на колени.

* Update code/modules/clothing/gloves/color.dm

Co-authored-by: Den109G <[email protected]>

* Сделал хорошо, плохо не сделал

* Делай хорошо, плохо не делай

* FFS

* Новые спрайтики

* Фикс под недавний рефактор

* Забыл про другие карты

* Даебдир приказал

* /

---------

Co-authored-by: Den109G <[email protected]>
Co-authored-by: Zwei <[email protected]>
  • Loading branch information
3 people authored Aug 25, 2024
1 parent 0efe5c9 commit 28f2988
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions _maps/map_files/Delta/delta.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -117439,7 +117439,7 @@
/obj/structure/extinguisher_cabinet{
pixel_x = -28
},
/obj/item/clothing/gloves/color/yellow,
/obj/item/clothing/gloves/color/fyellow,
/obj/item/storage/toolbox/electrical,
/obj/item/multitool,
/turf/simulated/floor/plasteel{
Expand Down Expand Up @@ -119945,7 +119945,7 @@
/area/crew_quarters/captain/bedroom)
"wPi" = (
/obj/structure/table/reinforced,
/obj/item/clothing/gloves/color/yellow,
/obj/item/clothing/gloves/color/fyellow,
/obj/item/storage/toolbox/electrical,
/obj/item/multitool,
/turf/simulated/floor/plasteel{
Expand Down
2 changes: 1 addition & 1 deletion _maps/map_files/celestation/celestation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -101066,7 +101066,7 @@
"sdv" = (
/obj/structure/rack,
/obj/item/storage/toolbox/electrical,
/obj/item/clothing/gloves/color/yellow,
/obj/item/clothing/gloves/color/fyellow,
/obj/item/t_scanner,
/obj/item/multitool,
/turf/simulated/floor/plating,
Expand Down
2 changes: 1 addition & 1 deletion _maps/map_files/cerestation/cerestation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -26899,7 +26899,7 @@
pixel_x = 1;
pixel_y = -1
},
/obj/item/clothing/gloves/color/yellow,
/obj/item/clothing/gloves/color/fyellow,
/obj/item/t_scanner,
/obj/item/multitool,
/turf/simulated/floor/plating,
Expand Down
2 changes: 1 addition & 1 deletion _maps/map_files/cyberiad/cyberiad.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -42216,7 +42216,7 @@
pixel_x = 1;
pixel_y = -1
},
/obj/item/clothing/gloves/color/yellow,
/obj/item/clothing/gloves/color/fyellow,
/obj/item/t_scanner,
/obj/item/clothing/glasses/meson,
/obj/item/multitool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
custom_door_overlay = "engelec"

/obj/structure/closet/secure_closet/engineering_electrical/populate_contents()
new /obj/item/clothing/gloves/color/yellow(src)
new /obj/item/clothing/gloves/color/yellow(src)
new /obj/item/storage/toolbox/electrical(src)
new /obj/item/storage/toolbox/electrical(src)
Expand Down Expand Up @@ -85,6 +84,7 @@
new /obj/item/clothing/suit/storage/hazardvest(src)
new /obj/item/clothing/mask/gas(src)
new /obj/item/clothing/glasses/meson(src)
new /obj/item/clothing/gloves/color/fyellow(src)
new /obj/item/cartridge/engineering(src)
new /obj/item/clothing/head/beret/eng(src)
new /obj/item/clothing/head/hardhat/orange(src)
Expand Down
9 changes: 4 additions & 5 deletions code/modules/clothing/gloves/color.dm
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,16 @@
/obj/item/clothing/gloves/color/fyellow //Cheap Chinese Crap
desc = "These gloves are cheap copies of the coveted gloves, no way this can end badly."
name = "budget insulated gloves"
icon_state = "yellow"
icon_state = "fyellow"
item_state = "ygloves"
siemens_coefficient = 0 //Set to a default of 0
belt_icon = "ygloves"
siemens_coefficient = 1 //Set to a default of 1, gets overridden in New()
permeability_coefficient = 0.05
item_color="yellow"
resistance_flags = NONE
toolspeedmod = 0.2
clothing_traits = list(TRAIT_NO_GUNS)

/obj/item/clothing/gloves/color/fyellow/New()
..()
siemens_coefficient = pick(0,0.5,0.5,0.5,0.5,0.75,1.5)

/obj/item/clothing/gloves/color/fyellow/old
desc = "Old and worn out insulated gloves, hopefully they still work."
Expand Down
Binary file modified icons/obj/clothing/gloves.dmi
Binary file not shown.

0 comments on commit 28f2988

Please sign in to comment.