under 100 now
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
icon_state = "fizzwiz"
|
||||
list_reagents = list(/datum/reagent/consumable/space_cola = 25, /datum/reagent/consumable/fizulphite = 15)
|
||||
foodtype = SUGAR
|
||||
price = 3
|
||||
|
||||
|
||||
/obj/item/reagent_containers/food/drinks/soda_cans/soothseltz
|
||||
name = "Soothing Seltzer"
|
||||
@@ -23,4 +21,3 @@
|
||||
icon_state = "soothseltz"
|
||||
list_reagents = list(/datum/reagent/consumable/space_cola = 25, /datum/reagent/consumable/extilphite = 15)
|
||||
foodtype = SUGAR
|
||||
price = 3
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/obj/item/reagent_containers/food
|
||||
var/blessed = 0
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/gbburrito
|
||||
name = "\improper GATO Gas Giant Burrito"
|
||||
icon_state = "gbburrito"
|
||||
@@ -7,7 +10,6 @@
|
||||
filling_color = "#74291b"
|
||||
tastes = list("refried beans","grease" = 1)
|
||||
foodtype = MEAT
|
||||
price = 3
|
||||
|
||||
//these have been ported from CHOMPstation / Virgo
|
||||
/obj/item/reagent_containers/food/snacks/doner_kebab
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
/atom/movable/screen/alert/gs13/blob
|
||||
name = "Fatty Blob"
|
||||
desc = "Every last piece of your corpulent body is now plush and bloated with vast rolls of blubber. Your corpulence is such that you are akin to a gigantic, towering wad of dough."
|
||||
icon_state = "blob"
|
||||
|
||||
/atom/movable/screen/alert/gs13/immobile
|
||||
name = "Immobile"
|
||||
desc = "Fat has taken over your body, now colossal in size and loaded with cumbersome flab. You are having a lot difficulty with moving the bulk that has set upon your body."
|
||||
icon_state = "immobile"
|
||||
|
||||
/atom/movable/screen/alert/gs13/barelymobile
|
||||
name = "Barely Mobile"
|
||||
desc = "Your fat legs barely allow you to waddle, continuing to slow your pace with each pound that you gain. If you continue gaining weight, you might find yourself unable to move at all."
|
||||
icon_state = "barelymobile"
|
||||
|
||||
/atom/movable/screen/alert/gs13/extremelyobese
|
||||
name = "Extremely Obese"
|
||||
desc = "In your journey through crossing further borders of obesity, your movement continues to get more and more restricted, body overcome with overwhelming amounts of adipose."
|
||||
icon_state = "extremelyobese"
|
||||
|
||||
/atom/movable/screen/alert/gs13/morbidlyobese
|
||||
name = "Morbidly Obese"
|
||||
desc = "Every inch of you is beginning to pack away lard, making your movements awkward and clunky. If your weight gain continues, walking might become a real issue."
|
||||
icon_state = "morbobese"
|
||||
|
||||
/atom/movable/screen/alert/gs13/obese
|
||||
name = "Obese"
|
||||
desc = "Your body is swollen with lard, and your movement is starting to be slightly hindered by your weight."
|
||||
icon_state = "obese"
|
||||
|
||||
/atom/movable/screen/alert/gs13/veryfat
|
||||
name = "Very fat"
|
||||
desc = "You're beginning to inch closer and closer to proper obesity. Your body is starting to slightly jiggle when you move around."
|
||||
icon_state = "veryfat"
|
||||
|
||||
/atom/movable/screen/alert/gs13/fatter
|
||||
name = "Fat"
|
||||
desc = "Clothes begin to cling onto your frame tighter and tighter, as your body begins to display first signs of fatness."
|
||||
icon_state = "fatter"
|
||||
|
||||
/atom/movable/screen/alert/gs13/fat
|
||||
name = "Rounded"
|
||||
desc = "Your body's beginning to display the first signs of softened curves, though they're barely noticeable."
|
||||
icon_state = "fat"
|
||||
|
||||
|
||||
//GS13 - fullness alerts
|
||||
/atom/movable/screen/alert/gs13/bloated
|
||||
name = "Bloated"
|
||||
desc = "Your stomach is starting to feel packed."
|
||||
icon_state = "Stuffed"
|
||||
|
||||
/atom/movable/screen/alert/gs13/stuffed
|
||||
name = "Stuffed"
|
||||
desc = "Whatever you ate, you ate too much. Your stomach has stretched to accomodate its contents, forming a very obvious stuffed belly."
|
||||
icon_state = "Bloated"
|
||||
|
||||
/atom/movable/screen/alert/gs13/beegbelly
|
||||
name = "Overfilled"
|
||||
desc = "You've somehow managed to fit even more in your stomach, barely allowing for any more room inside."
|
||||
icon_state = "beegbelly"
|
||||
|
||||
/atom/movable/screen/alert/gs13/sated
|
||||
name = "Sated"
|
||||
desc = "You're perfectly rather sated right now."
|
||||
icon_state = "sated"
|
||||
|
||||
/atom/movable/screen/alert/gs13/full
|
||||
name = "Full"
|
||||
desc = "You're rather full right now. Eating more food would result in weight gain."
|
||||
icon_state = "full"
|
||||
|
||||
/atom/movable/screen/alert/gs13/hungry
|
||||
name = "Hungry"
|
||||
desc = "Some food would be good right about now."
|
||||
icon_state = "hungry"
|
||||
@@ -42,7 +42,7 @@
|
||||
opened = TRUE
|
||||
spillable = TRUE
|
||||
reagent_flags = OPENCONTAINER
|
||||
ENABLE_BITFIELD(reagents.reagents_holder_flags, OPENCONTAINER)
|
||||
reagents.reagents_holder_flags |= OPENCONTAINER
|
||||
icon_state = "lipo_nutcut_full"
|
||||
desc = "A foreign fruit with an hard shell, the liquid inside looks very inviting."
|
||||
playsound(user, W.hitsound, 50, 1, -1)
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
skin = new_skin
|
||||
update_icon()
|
||||
|
||||
/mob/living/simple_animal/bot/nutribot/update_canmove()
|
||||
/mob/living/simple_animal/bot/nutribot/update_mobility()
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
@@ -113,10 +113,8 @@
|
||||
/mob/living/simple_animal/bot/nutribot/attack_paw(mob/user)
|
||||
return attack_hand(user)
|
||||
|
||||
/mob/living/simple_animal/bot/nutribot/get_controls(mob/user)
|
||||
/mob/living/simple_animal/bot/nutribot/proc/get_controls(mob/user)
|
||||
var/dat
|
||||
dat += hack(user)
|
||||
dat += showpai(user)
|
||||
dat += "<TT><B>Nutritional Unit Controls v1.1</B></TT><BR><BR>"
|
||||
dat += "Status: <A href='?src=[REF(src)];power=1'>[on ? "On" : "Off"]</A><BR>"
|
||||
dat += "Maintenance panel panel is [open ? "opened" : "closed"]<BR>"
|
||||
@@ -251,8 +249,7 @@
|
||||
return
|
||||
|
||||
/mob/living/simple_animal/bot/nutribot/proc/tip_over(mob/user)
|
||||
canmove = 0
|
||||
//mobility_flags &= ~MOBILITY_MOVE
|
||||
mobility_flags &= ~MOBILITY_MOVE
|
||||
playsound(src, 'sound/machines/warning-buzzer.ogg', 50)
|
||||
user.visible_message("<span class='danger'>[user] tips over [src]!</span>", "<span class='danger'>You tip [src] over!</span>")
|
||||
mode = BOT_TIPPED
|
||||
@@ -260,8 +257,7 @@
|
||||
transform = mat.Turn(180)
|
||||
|
||||
/mob/living/simple_animal/bot/nutribot/proc/set_right(mob/user)
|
||||
canmove = 1
|
||||
//mobility_flags &= MOBILITY_MOVE
|
||||
mobility_flags &= MOBILITY_MOVE
|
||||
var/list/messagevoice
|
||||
if(user)
|
||||
user.visible_message("<span class='notice'>[user] sets [src] right-side up!</span>", "<span class='green'>You set [src] right-side up!</span>")
|
||||
@@ -564,9 +560,6 @@
|
||||
soft_reset()
|
||||
return
|
||||
|
||||
reagent_id = null
|
||||
return
|
||||
|
||||
/mob/living/simple_animal/bot/nutribot/proc/check_overdose(mob/living/carbon/patient,reagent_id,injection_amount)
|
||||
var/datum/reagent/R = GLOB.chemical_reagents_list[reagent_id]
|
||||
if(!R.overdose_threshold) //Some chems do not have an OD threshold
|
||||
@@ -600,6 +593,21 @@
|
||||
/obj/machinery/bot_core/nutribot
|
||||
req_one_access = list(ACCESS_HYDROPONICS, ACCESS_BAR, ACCESS_KITCHEN, ACCESS_ROBOTICS)
|
||||
|
||||
/// Add these for now, until it is upgraded to TGUI.
|
||||
/mob/living/simple_animal/bot/nutribot/proc/show_controls(mob/M)
|
||||
users |= M
|
||||
var/dat = ""
|
||||
dat = get_controls(M)
|
||||
var/datum/browser/popup = new(M,window_id,window_name,350,600)
|
||||
popup.set_content(dat)
|
||||
popup.open(use_onclose = 0)
|
||||
onclose(M,window_id,ref=src)
|
||||
return
|
||||
|
||||
/mob/living/simple_animal/bot/nutribot/proc/update_controls()
|
||||
for(var/mob/M in users)
|
||||
show_controls(M)
|
||||
|
||||
#undef NUTRIBOT_PANIC_NONE
|
||||
#undef NUTRIBOT_PANIC_LOW
|
||||
#undef NUTRIBOT_PANIC_MED
|
||||
|
||||
@@ -1,3 +1,34 @@
|
||||
/datum/species/proc/update_body_size(mob/living/carbon/human/H, size_change)
|
||||
if (!H)
|
||||
return
|
||||
|
||||
var/obj/item/organ/genital/butt/anus = H.getorganslot(ORGAN_SLOT_BUTT)
|
||||
var/obj/item/organ/genital/belly/belly = H.getorganslot("belly")
|
||||
var/obj/item/organ/genital/breasts/breasts = H.getorganslot(ORGAN_SLOT_BREASTS)
|
||||
|
||||
update_genital_size(anus, size_change)
|
||||
update_genital_size(belly, size_change)
|
||||
update_breasts_size(breasts, size_change)
|
||||
|
||||
H.genital_override = TRUE
|
||||
H.update_body()
|
||||
H.update_inv_w_uniform()
|
||||
H.update_inv_wear_suit()
|
||||
|
||||
/datum/species/proc/update_genital_size(obj/item/organ/genital/G, size_change)
|
||||
if (!G)
|
||||
return
|
||||
|
||||
G.size = G.size + size_change
|
||||
G.update()
|
||||
|
||||
/datum/species/proc/update_breasts_size(obj/item/organ/genital/breasts/G, size_change)
|
||||
if (!G)
|
||||
return
|
||||
|
||||
G.cached_size = G.cached_size + size_change
|
||||
G.update()
|
||||
|
||||
/datum/species/proc/handle_fatness_trait(mob/living/carbon/human/H, trait, trait_lose, trait_gain, fatness_lose, fatness_gain, chat_lose, chat_gain)
|
||||
if(H.fatness < fatness_lose)
|
||||
if (chat_lose)
|
||||
@@ -376,48 +407,48 @@
|
||||
if(NUTRITION_LEVEL_HUNGRY to NUTRITION_LEVEL_FULL)
|
||||
H.clear_alert("nutrition")
|
||||
if(NUTRITION_LEVEL_STARVING to NUTRITION_LEVEL_HUNGRY)
|
||||
H.throw_alert("nutrition", /obj/screen/alert/hungry)
|
||||
H.throw_alert("nutrition", /atom/movable/screen/alert/hungry)
|
||||
if(0 to NUTRITION_LEVEL_STARVING)
|
||||
H.throw_alert("nutrition", /obj/screen/alert/starving)
|
||||
H.throw_alert("nutrition", /atom/movable/screen/alert/starving)
|
||||
|
||||
switch(H.fullness)
|
||||
if(0 to FULLNESS_LEVEL_BLOATED)
|
||||
H.clear_alert("fullness")
|
||||
if(FULLNESS_LEVEL_BLOATED to FULLNESS_LEVEL_BEEG)
|
||||
H.throw_alert("fullness", /obj/screen/alert/bloated)
|
||||
H.throw_alert("fullness", /atom/movable/screen/alert/gs13/bloated)
|
||||
if(FULLNESS_LEVEL_BEEG to FULLNESS_LEVEL_NOMOREPLZ)
|
||||
H.throw_alert("fullness", /obj/screen/alert/stuffed)
|
||||
H.throw_alert("fullness", /atom/movable/screen/alert/gs13/stuffed)
|
||||
if(FULLNESS_LEVEL_NOMOREPLZ to INFINITY)
|
||||
H.throw_alert("fullness", /obj/screen/alert/beegbelly)
|
||||
H.throw_alert("fullness", /atom/movable/screen/alert/gs13/beegbelly)
|
||||
|
||||
|
||||
switch(H.fatness)
|
||||
if(FATNESS_LEVEL_BLOB to INFINITY)
|
||||
H.throw_alert("fatness", /obj/screen/alert/blob)
|
||||
H.throw_alert("fatness", /atom/movable/screen/alert/gs13/blob)
|
||||
|
||||
if(FATNESS_LEVEL_IMMOBILE to FATNESS_LEVEL_BLOB)
|
||||
H.throw_alert("fatness", /obj/screen/alert/immobile)
|
||||
H.throw_alert("fatness", /atom/movable/screen/alert/gs13/immobile)
|
||||
|
||||
if(FATNESS_LEVEL_BARELYMOBILE to FATNESS_LEVEL_IMMOBILE)
|
||||
H.throw_alert("fatness", /obj/screen/alert/barelymobile)
|
||||
H.throw_alert("fatness", /atom/movable/screen/alert/gs13/barelymobile)
|
||||
|
||||
if(FATNESS_LEVEL_EXTREMELY_OBESE to FATNESS_LEVEL_BARELYMOBILE)
|
||||
H.throw_alert("fatness", /obj/screen/alert/extremelyobese)
|
||||
H.throw_alert("fatness", /atom/movable/screen/alert/gs13/extremelyobese)
|
||||
|
||||
if(FATNESS_LEVEL_MORBIDLY_OBESE to FATNESS_LEVEL_EXTREMELY_OBESE)
|
||||
H.throw_alert("fatness", /obj/screen/alert/morbidlyobese)
|
||||
H.throw_alert("fatness", /atom/movable/screen/alert/gs13/morbidlyobese)
|
||||
|
||||
if(FATNESS_LEVEL_OBESE to FATNESS_LEVEL_MORBIDLY_OBESE)
|
||||
H.throw_alert("fatness", /obj/screen/alert/obese)
|
||||
H.throw_alert("fatness", /atom/movable/screen/alert/gs13/obese)
|
||||
|
||||
if(FATNESS_LEVEL_VERYFAT to FATNESS_LEVEL_OBESE)
|
||||
H.throw_alert("fatness", /obj/screen/alert/veryfat)
|
||||
H.throw_alert("fatness", /atom/movable/screen/alert/gs13/veryfat)
|
||||
|
||||
if(FATNESS_LEVEL_FATTER to FATNESS_LEVEL_VERYFAT)
|
||||
H.throw_alert("fatness", /obj/screen/alert/fatter)
|
||||
H.throw_alert("fatness", /atom/movable/screen/alert/gs13/fatter)
|
||||
|
||||
if(FATNESS_LEVEL_FAT to FATNESS_LEVEL_FATTER)
|
||||
H.throw_alert("fatness", /obj/screen/alert/fat)
|
||||
H.throw_alert("fatness", /atom/movable/screen/alert/gs13/fat)
|
||||
|
||||
if(0 to FATNESS_LEVEL_FAT)
|
||||
H.clear_alert("fatness")
|
||||
|
||||
@@ -13,6 +13,34 @@
|
||||
M.adjust_fatness(15, FATTENING_TYPE_CHEM)
|
||||
return ..()
|
||||
|
||||
/datum/reagent/medicine/lipolicide
|
||||
name = "Lipolicide"
|
||||
description = "A powerful toxin that will destroy fat cells, massively reducing body weight in a short time. Deadly to those without nutriment in their body."
|
||||
taste_description = "mothballs"
|
||||
reagent_state = LIQUID
|
||||
color = "#F0FFF0"
|
||||
// GS13 tweak
|
||||
metabolization_rate = 0.7 * REAGENTS_METABOLISM
|
||||
overdose_threshold = 105
|
||||
|
||||
/datum/reagent/medicine/lipolicide/overdose_process(mob/living/carbon/C)
|
||||
. = ..()
|
||||
if(current_cycle >=41 && prob(10))
|
||||
to_chat(C, "<span class='userdanger'>You feel like your organs are on fire!</span>")
|
||||
C.IgniteMob()
|
||||
|
||||
/datum/reagent/medicine/lipolicide/on_mob_life(mob/living/carbon/M)
|
||||
if(M.nutrition <= NUTRITION_LEVEL_STARVING)
|
||||
M.adjustToxLoss(1*REAGENTS_EFFECT_MULTIPLIER, 0)
|
||||
if(M.fatness_real == 0)
|
||||
M.nutrition = max(M.nutrition - 3, 0) // making the chef more valuable, one meme trap at a time
|
||||
if(HAS_TRAIT(M, TRAIT_LIPOLICIDE_TOLERANCE)) //GS13 edit
|
||||
M.adjust_fatness(-0.5, FATTENING_TYPE_WEIGHT_LOSS)
|
||||
else
|
||||
M.adjust_fatness(-10, FATTENING_TYPE_WEIGHT_LOSS)
|
||||
|
||||
M.overeatduration = 0
|
||||
return ..()
|
||||
|
||||
//BURPY CHEM
|
||||
|
||||
|
||||
@@ -7,6 +7,13 @@
|
||||
results = list(/datum/reagent/consumable/lipoifier = 3)
|
||||
required_reagents = list(/datum/reagent/consumable/sugar = 1, /datum/reagent/consumable/cornoil = 1, /datum/reagent/medicine/synthflesh = 1)
|
||||
|
||||
|
||||
/datum/chemical_reaction/lipolicide
|
||||
name = "lipolicide"
|
||||
id = /datum/reagent/medicine/lipolicide
|
||||
results = list(/datum/reagent/medicine/lipolicide = 3)
|
||||
required_reagents = list(/datum/reagent/mercury = 1, /datum/reagent/diethylamine = 1, /datum/reagent/medicine/ephedrine = 1)
|
||||
|
||||
//BURP CHEM
|
||||
/datum/chemical_reaction/fizulphite
|
||||
name = "fizulphite"
|
||||
|
||||
Reference in New Issue
Block a user