Merge pull request #78 from brightkitsune/operation-porting
Porting over some items and changes from the old code.
This commit is contained in:
@@ -5,8 +5,10 @@
|
||||
desc = "This implant was meant to prevent people from going hungry, but due to a flaw in its designs, it permanently produces a small amount of nutriment overtime."
|
||||
icon_state = "chest_implant"
|
||||
implant_color = "#006607"
|
||||
nutrition_amount = 20 //Dunno if this is still needed. Will test.
|
||||
hunger_threshold = NUTRITION_LEVEL_FULL
|
||||
poison_amount = 10
|
||||
message = "" //Why wasn't this ported over? Spam is a pain in the butt. Just shaddup already!
|
||||
|
||||
/obj/item/organ/cyberimp/chest/mobility
|
||||
name = "Mobility Nanite Core"
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
var/hunger_threshold = NUTRITION_LEVEL_STARVING
|
||||
var/synthesizing = 0
|
||||
var/poison_amount = 5
|
||||
var/nutrition_amount = 50 // GS13
|
||||
var/message = "<span class='notice'>You feel less hungry...</span>" // GS13
|
||||
slot = ORGAN_SLOT_STOMACH_AID
|
||||
|
||||
/obj/item/organ/cyberimp/chest/nutriment/on_life()
|
||||
@@ -26,9 +28,9 @@
|
||||
|
||||
if(owner.nutrition <= hunger_threshold)
|
||||
synthesizing = TRUE
|
||||
to_chat(owner, "<span class='notice'>You feel less hungry...</span>")
|
||||
owner.adjust_nutrition(50)
|
||||
addtimer(CALLBACK(src, PROC_REF(synth_cool)), 50)
|
||||
to_chat(owner, message)
|
||||
owner.nutrition += nutrition_amount
|
||||
addtimer(CALLBACK(src,PROC_REF(synth_cool)), 50)
|
||||
|
||||
/obj/item/organ/cyberimp/chest/nutriment/proc/synth_cool()
|
||||
synthesizing = FALSE
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
/obj/item/clothing/under/misc/poly_bottomless = 3,
|
||||
/obj/item/clothing/under/misc/poly_tanktop = 3,
|
||||
/obj/item/clothing/under/misc/poly_tanktop/female = 3,
|
||||
/obj/item/clothing/under/latexfull = 10, //GS13 - ported over latex clothing options
|
||||
/obj/item/clothing/under/latexhalf = 10, //GS13 - ported over latex clothing options
|
||||
/obj/item/clothing/gloves/latexsleeves = 10, //GS13 - ported over latex clothing options
|
||||
/obj/item/autosurgeon/penis = 3,
|
||||
/obj/item/autosurgeon/testicles = 3,
|
||||
/obj/item/storage/pill_bottle/penis_enlargement = 10,
|
||||
|
||||
Reference in New Issue
Block a user