mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-26 22:46:15 +01:00
Fattening gas mask
Added a gas mask that adds some fatness to the wearer while equipped. Craftable with a gas mask and a piece of calorite
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/obj/item/clothing/mask/gas/fattening
|
||||
name = "drone mask"
|
||||
desc = "A mask that can be connected to an air supply. When seen from certain angles, an orange light is reflected by it."
|
||||
icon = 'GainStation13/icons/obj/clothing/fat_mask.dmi'
|
||||
icon_state = "fat_mask"
|
||||
item_state = "fat_mask"
|
||||
var/mob/living/carbon/C
|
||||
|
||||
/obj/item/clothing/mask/gas/fattening/equipped(mob/M, slot)
|
||||
. = ..()
|
||||
if (slot == SLOT_WEAR_MASK)
|
||||
if(iscarbon(M))
|
||||
C = M
|
||||
START_PROCESSING(SSobj, src)
|
||||
else
|
||||
C = null
|
||||
return PROCESS_KILL
|
||||
|
||||
/obj/item/clothing/mask/gas/fattening/process()
|
||||
C.adjust_fatness(5, FATTENING_TYPE_ITEM)
|
||||
|
||||
/datum/crafting_recipe/fat_mask
|
||||
name = "Drone Mask"
|
||||
result = /obj/item/clothing/mask/gas/fattening
|
||||
reqs = list(/obj/item/stack/sheet/mineral/calorite = 1, /obj/item/clothing/mask/gas = 1)
|
||||
category = CAT_CLOTHING
|
||||
@@ -74,8 +74,6 @@
|
||||
/datum/crafting_recipe/barrel_tank
|
||||
name = "Barrel tank"
|
||||
result = /obj/item/reagent_containers/barrel_tank
|
||||
time = 25
|
||||
tools = list(TOOL_CROWBAR)
|
||||
reqs = list(/obj/item/stack/sheet/mineral/wood = 20)
|
||||
always_availible = TRUE
|
||||
category = CAT_CLOTHING
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 525 B |
Binary file not shown.
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 46 KiB |
@@ -3074,6 +3074,7 @@
|
||||
#include "code\modules\zombie\organs.dm"
|
||||
#include "GainStation13\code\clothing\accessory.dm"
|
||||
#include "GainStation13\code\clothing\calorite_collar.dm"
|
||||
#include "GainStation13\code\clothing\fat_mask.dm"
|
||||
#include "GainStation13\code\clothing\haydee_suit.dm"
|
||||
#include "GainStation13\code\clothing\head.dm"
|
||||
#include "GainStation13\code\clothing\suits.dm"
|
||||
|
||||
Reference in New Issue
Block a user