mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-12 00:20:55 +01:00
wew
This commit is contained in:
@@ -517,3 +517,14 @@ GLOBAL_LIST_INIT(lighter_reskins, list(ZIPPO_SKIN_PLAIN = "plain", ZIPPO_SKIN_DA
|
||||
#define FOURSPACES " "
|
||||
|
||||
#define CANT_REENTER_ROUND -1
|
||||
|
||||
//GS13 WEIGHT GAIN TYPES
|
||||
#define MINIMUM_FATNESS_LEVEL 0
|
||||
|
||||
#define FATTENING_TYPE_ITEM "item"
|
||||
#define FATTENING_TYPE_FOOD "food"
|
||||
#define FATTENING_TYPE_CHEM "chem"
|
||||
#define FATTENING_TYPE_WEAPON "weapon"
|
||||
#define FATTENING_TYPE_MAGIC "magic"
|
||||
#define FATTENING_TYPE_VIRUS "virus"
|
||||
#define FATTENING_TYPE_WEIGHT_LOSS "weight_loss"
|
||||
|
||||
@@ -215,16 +215,7 @@
|
||||
#define TRAIT_NO_ALCOHOL "alcohol_intolerance"
|
||||
|
||||
//GS13
|
||||
|
||||
//Weight gain immunity traits
|
||||
#define TRAIT_GAIN_FOOD_IMMUNE "food_gain_immune"
|
||||
#define TRAIT_GAIN_CHEM_IMMUNE "chem_gain_immune"
|
||||
#define TRAIT_GAIN_ITEM_IMMUNE "item_gain_immune"
|
||||
#define TRAIT_GAIN_WEAPON_IMMUNE "weapon_gain_immune"
|
||||
#define TRAIT_GAIN_MAGIC_IMMUNE "magic_gain_immune"
|
||||
#define TRAIT_GAIN_VIRUS_IMMUNE "virus_gain_immune"
|
||||
|
||||
#define TRIAT_WEIGHT_LOSS_IMMUNE "weight_loss_immune"
|
||||
#define TRAIT_WEIGHT_LOSS_IMMUNE "weight_loss_immune"
|
||||
#define TRAIT_UNIVERSAL_GAINER "universal_gainer"
|
||||
|
||||
|
||||
|
||||
@@ -291,7 +291,10 @@
|
||||
/datum/component/mood/proc/hud_click(datum/source, location, control, params, mob/user)
|
||||
print_mood(user)
|
||||
|
||||
/datum/component/mood/proc/HandleFatness(mob/living/L)
|
||||
/datum/component/mood/proc/HandleFatness(mob/living/carbon/L)
|
||||
if(!L)
|
||||
return FALSE
|
||||
|
||||
switch(L.fatness)
|
||||
if(FATNESS_LEVEL_FAT to INFINITY)
|
||||
add_event(null, "fatness", /datum/mood_event/fat)
|
||||
|
||||
@@ -42,7 +42,7 @@ Bonus
|
||||
/datum/symptom/weight_loss/Activate(datum/disease/advance/A)
|
||||
if(!..())
|
||||
return
|
||||
var/mob/living/M = A.affected_mob
|
||||
var/mob/living/carbon/M = A.affected_mob
|
||||
switch(A.stage)
|
||||
if(1, 2, 3, 4)
|
||||
if(prob(base_message_chance))
|
||||
@@ -74,9 +74,9 @@ Bonus
|
||||
/datum/symptom/weight_gain/Activate(datum/disease/advance/A)
|
||||
if(!..())
|
||||
return
|
||||
var/mob/living/M = A.affected_mob
|
||||
if(HAS_TRAIT(M, TRAIT_LIPOIFIER_IMMUNE))
|
||||
return
|
||||
var/mob/living/carbon/M = A.affected_mob
|
||||
if(!(M?.client?.prefs?.weight_gain_viruses))
|
||||
return FALSE
|
||||
switch(A.stage)
|
||||
if(1, 2, 3, 4)
|
||||
if(prob(base_message_chance))
|
||||
|
||||
@@ -127,16 +127,6 @@
|
||||
lose_text = "<span class='notice'>You don't feel as prudish as before.</span>"
|
||||
medical_record_text = "Patient exhibits a special gene that makes them immune to Crocin and Hexacrocin."
|
||||
|
||||
/datum/quirk/lipoifier_immunity
|
||||
name = "Lipoifier Immunity"
|
||||
desc = "Your body is mostly immune to widening properties of Lipoifier chemical and its cheaper alternative: corn oil."
|
||||
mob_trait = TRAIT_LIPOIFIER_IMMUNE
|
||||
value = 0
|
||||
category = CATEGORY_SEXUAL
|
||||
gain_text = "<span class='notice'>You feel less prone to sudden weight gain.</span>"
|
||||
lose_text = "<span class='notice'>You don't feel that resistant to gaining sudden weight anymore.</span>"
|
||||
medical_record_text = "Patient exhibits a special gene that makes them immune to Lipoifier and Corn Oil."
|
||||
|
||||
/datum/quirk/assblastusa
|
||||
name = "Buns of Steel"
|
||||
desc = "You've never skipped ass day. With this trait, you are completely immune to all forms of ass slapping and anyone who tries to slap your rock hard ass usually gets a broken hand."
|
||||
|
||||
@@ -359,57 +359,55 @@
|
||||
..()
|
||||
|
||||
/obj/structure/statue/calorite/fatty/attackby(obj/item/W, mob/living/carbon/M, params)
|
||||
if(!M.adjust_fatness(20, FATTENING_TYPE_ITEM))
|
||||
to_chat(M, "<span class='warning'>Nothing happens.</span>")
|
||||
return
|
||||
|
||||
if(M.fatness < 200)
|
||||
to_chat(M, "<span class='warning'>The moment your hand meets the statue, you feel a little warmer...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_FAT))
|
||||
to_chat(M, "<span class='warning'>Upon each poke of the statue, you feel yourself get a little heavier.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_OBESE))
|
||||
to_chat(M, "<span class='warning'>With each touch you keep getting fatter... But the fatter you grow, the more enticed you feel to poke the statue.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_MORBIDLYOBESE))
|
||||
to_chat(M, "<span class='warning'>The world around you blurs as you focus on prodding the statue, your waistline widening further...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_IMMOBILE))
|
||||
to_chat(M, "<span class='warning'>A whispering voice gently compliments your massive body, your own mind begging to touch the statue more.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_BLOB))
|
||||
to_chat(M, "<span class='warning'>You can barely reach the statue past your floor-covering stomach! And yet, it still calls to you...</span>")
|
||||
|
||||
if(HAS_TRAIT(M, TRAIT_LIPOIFIER_IMMUNE))
|
||||
to_chat(M, "<span class='warning'>Nothing happens.</span>")
|
||||
else
|
||||
M.adjust_fatness(20, FATTENING_TYPE_ITEM)
|
||||
if(M.fatness < 200)
|
||||
to_chat(M, "<span class='warning'>The moment your hand meets the statue, you feel a little warmer...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_FAT))
|
||||
to_chat(M, "<span class='warning'>Upon each poke of the statue, you feel yourself get a little heavier.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_OBESE))
|
||||
to_chat(M, "<span class='warning'>With each touch you keep getting fatter... But the fatter you grow, the more enticed you feel to poke the statue.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_MORBIDLYOBESE))
|
||||
to_chat(M, "<span class='warning'>The world around you blurs as you focus on prodding the statue, your waistline widening further...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_IMMOBILE))
|
||||
to_chat(M, "<span class='warning'>A whispering voice gently compliments your massive body, your own mind begging to touch the statue more.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_BLOB))
|
||||
to_chat(M, "<span class='warning'>You can barely reach the statue past your floor-covering stomach! And yet, it still calls to you...</span>")
|
||||
|
||||
/obj/structure/statue/calorite/fatty/attack_hand(mob/living/carbon/M)
|
||||
if(HAS_TRAIT(M, TRAIT_LIPOIFIER_IMMUNE))
|
||||
if(!M.adjust_fatness(20, FATTENING_TYPE_ITEM))
|
||||
to_chat(M, "<span class='warning'>Nothing happens.</span>")
|
||||
else
|
||||
M.adjust_fatness(20, FATTENING_TYPE_ITEM)
|
||||
if(M.fatness < 200)
|
||||
to_chat(M, "<span class='warning'>The moment your hand meets the statue, you feel a little warmer...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_FAT))
|
||||
to_chat(M, "<span class='warning'>Upon each poke of the statue, you feel yourself get a little heavier.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_OBESE))
|
||||
to_chat(M, "<span class='warning'>With each touch you keep getting fatter... But the fatter you grow, the more enticed you feel to poke the statue.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_MORBIDLYOBESE))
|
||||
to_chat(M, "<span class='warning'>The world around you blurs as you focus on prodding the statue, your waistline widening further...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_IMMOBILE))
|
||||
to_chat(M, "<span class='warning'>A whispering voice gently compliments your massive body, your own mind begging to touch the statue more.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_BLOB))
|
||||
to_chat(M, "<span class='warning'>You can barely reach the statue past your floor-covering stomach! And yet, it still calls to you...</span>")
|
||||
|
||||
return
|
||||
|
||||
if(M.fatness < 200)
|
||||
to_chat(M, "<span class='warning'>The moment your hand meets the statue, you feel a little warmer...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_FAT))
|
||||
to_chat(M, "<span class='warning'>Upon each poke of the statue, you feel yourself get a little heavier.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_OBESE))
|
||||
to_chat(M, "<span class='warning'>With each touch you keep getting fatter... But the fatter you grow, the more enticed you feel to poke the statue.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_MORBIDLYOBESE))
|
||||
to_chat(M, "<span class='warning'>The world around you blurs as you focus on prodding the statue, your waistline widening further...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_IMMOBILE))
|
||||
to_chat(M, "<span class='warning'>A whispering voice gently compliments your massive body, your own mind begging to touch the statue more.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_BLOB))
|
||||
to_chat(M, "<span class='warning'>You can barely reach the statue past your floor-covering stomach! And yet, it still calls to you...</span>")
|
||||
|
||||
/obj/structure/statue/calorite/fatty/attack_paw(mob/living/carbon/M)
|
||||
if(HAS_TRAIT(M, TRAIT_LIPOIFIER_IMMUNE))
|
||||
if(!M.adjust_fatness(20, FATTENING_TYPE_ITEM))
|
||||
to_chat(M, "<span class='warning'>Nothing happens.</span>")
|
||||
else
|
||||
M.adjust_fatness(20, FATTENING_TYPE_ITEM)
|
||||
if(M.fatness < 200)
|
||||
to_chat(M, "<span class='warning'>The moment your hand meets the statue, you feel a little warmer...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_FAT))
|
||||
to_chat(M, "<span class='warning'>Upon each poke of the statue, you feel yourself get a little heavier.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_OBESE))
|
||||
to_chat(M, "<span class='warning'>With each touch you keep getting fatter... But the fatter you grow, the more enticed you feel to poke the statue.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_MORBIDLYOBESE))
|
||||
to_chat(M, "<span class='warning'>The world around you blurs as you focus on prodding the statue, your waistline widening further...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_IMMOBILE))
|
||||
to_chat(M, "<span class='warning'>A whispering voice gently compliments your massive body, your own mind begging to touch the statue more.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_BLOB))
|
||||
to_chat(M, "<span class='warning'>You can barely reach the statue past your floor-covering stomach! And yet, it still calls to you...</span>")
|
||||
|
||||
return
|
||||
|
||||
if(M.fatness < 200)
|
||||
to_chat(M, "<span class='warning'>The moment your hand meets the statue, you feel a little warmer...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_FAT))
|
||||
to_chat(M, "<span class='warning'>Upon each poke of the statue, you feel yourself get a little heavier.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_OBESE))
|
||||
to_chat(M, "<span class='warning'>With each touch you keep getting fatter... But the fatter you grow, the more enticed you feel to poke the statue.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_MORBIDLYOBESE))
|
||||
to_chat(M, "<span class='warning'>The world around you blurs as you focus on prodding the statue, your waistline widening further...</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_IMMOBILE))
|
||||
to_chat(M, "<span class='warning'>A whispering voice gently compliments your massive body, your own mind begging to touch the statue more.</span>")
|
||||
if(HAS_TRAIT(M, TRAIT_BLOB))
|
||||
to_chat(M, "<span class='warning'>You can barely reach the statue past your floor-covering stomach! And yet, it still calls to you...</span>")
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
var/fat_to_add = 50
|
||||
|
||||
/turf/open/floor/mineral/calorite/Entered(mob/living/carbon/M)
|
||||
if(!istype(M, /mob/living/carbon) || HAS_TRAIT(M, TRAIT_LIPOIFIER_IMMUNE))
|
||||
if(!istype(M, /mob/living/carbon))
|
||||
return FALSE
|
||||
else
|
||||
M.adjust_fatness(fat_to_add, FATTENING_TYPE_ITEM)
|
||||
|
||||
@@ -517,7 +517,6 @@
|
||||
radiation = 0
|
||||
nutrition = NUTRITION_LEVEL_FED + 50
|
||||
fullness = FULLNESS_LEVEL_HALF_FULL // GS13
|
||||
fatness = 0 // GS13
|
||||
thirst = THIRST_LEVEL_QUENCHED + 50
|
||||
bodytemperature = BODYTEMP_NORMAL
|
||||
set_blindness(0)
|
||||
|
||||
@@ -61,6 +61,8 @@
|
||||
var/dizziness = 0//Carbon
|
||||
var/jitteriness = 0//Carbon
|
||||
|
||||
///How full is the parent mob?
|
||||
var/fullness = FULLNESS_LEVEL_HALF_FULL
|
||||
var/nutrition = NUTRITION_LEVEL_START_MIN // randomised in Initialize
|
||||
var/thirst = THIRST_LEVEL_START_MIN //same for this
|
||||
var/satiety = 0//Carbon
|
||||
|
||||
@@ -114,8 +114,8 @@
|
||||
/obj/item/gun/fatbeam/proc/on_beam_tick(var/mob/living/target)
|
||||
if(target.health != target.maxHealth)
|
||||
new /obj/effect/temp_visual/heal(get_turf(target), "#FFC2F8")
|
||||
if(HAS_TRAIT(target, TRAIT_GAIN_WEAPON_IMMUNE))
|
||||
target.nutrition += 50
|
||||
if(target?.client?.prefs?.weight_gain_weapons)
|
||||
target.nutrition += 50
|
||||
return
|
||||
|
||||
/obj/item/gun/fatbeam/proc/on_beam_release(var/mob/living/target)
|
||||
|
||||
@@ -453,7 +453,7 @@
|
||||
taste_description = "slime"
|
||||
|
||||
/datum/reagent/consumable/cornoil/on_mob_life(mob/living/carbon/M)
|
||||
if(M && !HAS_TRAIT(M, TRAIT_LIPOIFIER_IMMUNE))
|
||||
if(M && M?.client?.prefs.weight_gain_chems)
|
||||
M.nutrition += 20 * REAGENTS_METABOLISM
|
||||
else
|
||||
M.nutrition += 1
|
||||
|
||||
Reference in New Issue
Block a user