diff --git a/GainStation13/code/datums/diseases/advance/symptoms/berry.dm b/GainStation13/code/datums/diseases/advance/symptoms/berry.dm
index cf387b79..444ccd0b 100644
--- a/GainStation13/code/datums/diseases/advance/symptoms/berry.dm
+++ b/GainStation13/code/datums/diseases/advance/symptoms/berry.dm
@@ -57,7 +57,7 @@
affected_mob.reagents.remove_reagent(/datum/reagent/berry_juice_infection, volume)
return
picked_color = pick(random_color_list)
- affected_mob.fat_hide(affected_mob.fatness_real + ((3 * (volume * volume))/50), src)
+ affected_mob.hider_add(src)
else
L.reagents.remove_reagent(/datum/reagent/berry_juice_infection, volume)
..()
@@ -68,7 +68,6 @@
return
if(!no_mob_color)
M.add_atom_colour(picked_color, WASHABLE_COLOUR_PRIORITY)
- M.fat_hide(M.fatness_real + ((3 * (volume * volume))/50), src)
M.adjust_fatness(1, FATTENING_TYPE_CHEM)
..()
@@ -76,7 +75,7 @@
if(!iscarbon(L))
return
var/mob/living/carbon/C = L
- C.fat_show()
+ C.hider_remove(src)
/obj/item/reagent_containers/glass/attack(mob/M, mob/user, obj/target)
if(M.reagents.get_reagent_amount(/datum/reagent/berry_juice_infection) > 0 && (reagents.total_volume + min(amount_per_transfer_from_this, 10)) <= volume)
@@ -89,3 +88,6 @@
to_chat(user, "You get some juice out of you...")
return
..()
+
+/datum/reagent/berry_juice_infection/proc/fat_hide()
+ return (3 * (volume * volume))/50
diff --git a/GainStation13/code/machinery/fattening_turret.dm b/GainStation13/code/machinery/fattening_turret.dm
index 899bcf59..c9281503 100644
--- a/GainStation13/code/machinery/fattening_turret.dm
+++ b/GainStation13/code/machinery/fattening_turret.dm
@@ -8,7 +8,7 @@
scan_range = 9
req_access = list(ACCESS_SYNDICATE)
mode = TURRET_LETHAL
- lethal_projectile = /obj/item/projectile/energy/fattening
+ lethal_projectile = /obj/item/projectile/beam/fattening
lethal_projectile_sound = 'sound/weapons/laser.ogg'
icon_state = "turretCover"
base_icon_state = "standard"
@@ -17,7 +17,7 @@
/obj/machinery/porta_turret/fattening/heavy
name = "Heavy Fatoray Turret"
- lethal_projectile = /obj/item/projectile/energy/fattening/cannon
+ lethal_projectile = /obj/item/projectile/beam/fattening/cannon
shot_delay = 30
/obj/machinery/porta_turret/fattening/ComponentInitialize()
diff --git a/GainStation13/code/mechanics/fatness.dm b/GainStation13/code/mechanics/fatness.dm
index 5d6cc33f..0a844455 100644
--- a/GainStation13/code/mechanics/fatness.dm
+++ b/GainStation13/code/mechanics/fatness.dm
@@ -5,12 +5,10 @@
// -fatness_real is the value a mob is actually at, even if it's being hidden. For permanent changes, use this one
//What level of fatness is the parent mob currently at?
var/fatness = 0
- //Is something hiding the actual fatness value of a character?
- var/fat_hider = FALSE
+ //The list of items/effects that are being added/subtracted from our real fatness
+ var/fat_hiders = list()
//The actual value a mob is at. Is equal to fatness if fat_hider is FALSE.
var/fatness_real = 0
- //The value a mob's fatness is being overwritten with if fat_hider has something in it.
- var/fatness_over = 0
///At what rate does the parent mob gain weight? 1 = 100%
var/weight_gain_rate = 1
//At what rate does the parent mob lose weight? 1 = 100%
@@ -44,13 +42,9 @@
if(client?.prefs?.max_weight) // GS13
fatness_real = min(fatness_real, (client?.prefs?.max_weight - 1))
- if(fat_hider) //If a character's real fatness is being hidden
- if(client?.prefs?.max_weight) //Check their prefs
- fatness_over = min(fatness_over, (client?.prefs?.max_weight - 1)) //And make sure it's not above their preferred max
+ fatness = fatness_real //Make their current fatness their real fatness
- fatness = fatness_over //Then, make that value their current fatness
- else //If it's not being hidden
- fatness = fatness_real //Make their current fatness their real fatness
+ hiders_apply() //Check and apply hiders
if(client?.prefs?.weight_gain_extreme)
xwg_resize()
@@ -96,29 +90,55 @@
if(!client?.prefs?.weight_gain_viruses)
return FALSE
+ if(FATTENING_TYPE_NANITES)
+ if(!client?.prefs?.weight_gain_nanites)
+ return FALSE
+
if(FATTENING_TYPE_WEIGHT_LOSS)
if(HAS_TRAIT(src, TRAIT_WEIGHT_LOSS_IMMUNE))
return FALSE
return TRUE
-/mob/living/carbon/proc/fat_hide(hide_amount, hide_source) //If something wants to hide fatness_real, it'll call this method and give it an amount to cover it with
- fat_hider = hide_source
- fatness_over = hide_amount
- fatness = fatness_over //To update a mob's fatness with the new amount to be shown immediately
- if(client?.prefs?.weight_gain_extreme)
- xwg_resize()
+ // THE FATNESS HIDING GUIDE!!!
+ // HOW 2 FATNESS HIDE
+ //Step 1) Grab a thing that will add or reduce fatness!
+ //Step 2) Give it a character.hider_add(src) and a character.hider_remove(src) depending on the conditions you want it to meet for which it will add or remove itself from messing with a character's fatness!
+ //Step 3) Give it a proc/fat_hide([character argument]), with a return that will give the amount to shift that character's fatness by!
+ //Step 4) There is no step 4, you did it bucko!
+ //Wanna see an example? Search for /obj/item/bluespace_belt !!!
+
+/mob/living/carbon/proc/hider_add(hide_source)
+ if(!(hide_source in fat_hiders))
+ fat_hiders += hide_source
return TRUE
-/mob/living/carbon/proc/fat_show() //If something that hides fatness is removed or expires, it'll call this method
- fat_hider = FALSE
- fatness = fatness_real //To update a mob's fatness with their real one immediately
- if(client?.prefs?.weight_gain_extreme)
- xwg_resize()
-
+/mob/living/carbon/proc/hider_remove(hide_source)
+ if(hide_source in fat_hiders)
+ fat_hiders -= hide_source
return TRUE
+/mob/living/carbon/proc/hiders_calc()
+ var/hiders_value = 0
+ for(var/hider in fat_hiders)
+ var/hide_values = hider:fat_hide(src)
+ if(!islist(hide_values))
+ hiders_value += hide_values
+ else
+ for(var/hide_value in hide_values)
+ hiders_value += hide_value
+ return hiders_value
+
+/mob/living/carbon/proc/hiders_apply()
+ if(fat_hiders) //do we have any hiders active?
+ var/fatness_over = hiders_calc() //calculate the sum of all hiders
+ if(client?.prefs?.max_weight) //Check their prefs
+ fatness_over = min(fatness_over, (client?.prefs?.max_weight - 1)) //And make sure it's not above their preferred max
+ fatness = fatness_real + fatness_over //Then, make their current fatness the sum of their real plus/minus the calculated amount
+ if(client?.prefs?.weight_gain_extreme)
+ xwg_resize()
+
/mob/living/carbon/proc/xwg_resize()
var/xwg_size = sqrt(fatness/FATNESS_LEVEL_BLOB)
xwg_size = min(xwg_size, RESIZE_HUGE)
@@ -146,3 +166,7 @@
return "Immobile"
return "Blob"
+
+/mob/living/carbon/human/handle_breathing(times_fired)
+ . = ..()
+ hiders_apply()
diff --git a/GainStation13/code/mechanics/metal_cruncher.dm b/GainStation13/code/mechanics/metal_cruncher.dm
new file mode 100644
index 00000000..2dcd57f9
--- /dev/null
+++ b/GainStation13/code/mechanics/metal_cruncher.dm
@@ -0,0 +1,87 @@
+/datum/quirk/metal_cruncher
+ name = "Metal Cruncher"
+ desc = "You can eat most minerals. Brush your teeth."
+ value = 0 //ERP quirk
+ gain_text = "You feel like you could eat steel."
+ lose_text = "Your teeth hurt too much..."
+ category = CATEGORY_FOOD
+ mob_trait = TRAIT_METAL_CRUNCHER
+
+/obj/item/stack
+ var/crunch_value = 0
+
+/obj/item/stack/attack(mob/living/M, mob/living/user)
+ if(HAS_TRAIT(M, TRAIT_METAL_CRUNCHER))
+ if(crunch_value > 0)
+ if(M == user)
+ user.visible_message("[user] crunches on some of [src].", "You crunch on some of [src].")
+ else
+ M.visible_message("[user] attempts to feed some of [src] to [M].", "[user] attempts to feed some of [src] to [M].")
+ playsound(M,'sound/items/eatfood.ogg', rand(10,50), 1)
+ use(1)
+ M.nutrition += crunch_value
+ if(HAS_TRAIT(M, TRAIT_VORACIOUS))
+ M.changeNext_move(CLICK_CD_MELEE * 0.5)
+ return
+ . = ..()
+
+/obj/item/stack/cable_coil
+ crunch_value = 2
+/obj/item/stack/sheet/metal
+ crunch_value = 4
+/obj/item/stack/rods
+ crunch_value = 2
+/obj/item/stack/sheet/glass
+ crunch_value = 2
+/obj/item/stack/sheet/rglass
+ crunch_value = 4
+/obj/item/stack/sheet/plasmaglass
+ crunch_value = 12
+/obj/item/stack/sheet/plasmarglass
+ crunch_value = 14
+/obj/item/stack/sheet/titaniumglass
+ crunch_value = 27
+/obj/item/stack/sheet/plastitaniumglass
+ crunch_value = 37
+/obj/item/stack/sheet/plasteel
+ crunch_value = 14
+/obj/item/stack/sheet/durathread
+ crunch_value = 10
+/obj/item/stack/sheet/plastic
+ crunch_value = 2
+/obj/item/stack/sheet/micro_bricks
+ crunch_value = 1
+/obj/item/stack/sheet/cardboard
+ crunch_value = 1
+/obj/item/stack/sheet/mineral/calorite
+ crunch_value = 100
+/obj/item/stack/sheet/mineral/sandstone
+ crunch_value = 1
+/obj/item/stack/sheet/mineral/uranium
+ crunch_value = 50
+/obj/item/stack/sheet/mineral/plasma
+ crunch_value = 10
+/obj/item/stack/sheet/mineral/gold
+ crunch_value = 20
+/obj/item/stack/sheet/mineral/silver
+ crunch_value = 15
+/obj/item/stack/sheet/mineral/titanium
+ crunch_value = 25
+/obj/item/stack/sheet/mineral/plastitanium
+ crunch_value = 35
+/obj/item/stack/sheet/mineral/adamantine
+ crunch_value = 75
+/obj/item/stack/sheet/mineral/mythril
+ crunch_value = 75
+/obj/item/stack/sheet/mineral/coal
+ crunch_value = 50
+/obj/item/stack/sheet/mineral/wood
+ crunch_value = 4
+/obj/item/stack/sheet/mineral/bamboo
+ crunch_value = 10
+/obj/item/stack/sheet/mineral/shadoww
+ crunch_value = 15
+/obj/item/stack/sheet/mineral/gmushroom
+ crunch_value = 15
+/obj/item/stack/sheet/mineral/plaswood
+ crunch_value = 15
diff --git a/GainStation13/code/mechanics/water_sponge.dm b/GainStation13/code/mechanics/water_sponge.dm
new file mode 100644
index 00000000..0b966ad2
--- /dev/null
+++ b/GainStation13/code/mechanics/water_sponge.dm
@@ -0,0 +1,84 @@
+/datum/quirk/water_sponge
+ name = "Water Sponge"
+ desc = "You can hold lots of water in you! Careful with showers!"
+ value = 0 //ERP quirk
+ gain_text = "You feel absorbant."
+ lose_text = "You don't feel absorbant anymore."
+ category = CATEGORY_FOOD
+ mob_trait = TRAIT_WATER_SPONGE
+
+/datum/reagent/water/on_mob_add(mob/living/L, amount)
+ if(HAS_TRAIT(L, TRAIT_WATER_SPONGE))
+ if(iscarbon(L))
+ var/mob/living/carbon/C = L
+ C.hider_add(src)
+ . = ..()
+
+/datum/reagent/water/on_mob_delete(mob/living/L)
+ if(HAS_TRAIT(L, TRAIT_WATER_SPONGE))
+ if(iscarbon(L))
+ var/mob/living/carbon/C = L
+ C.hider_remove(src)
+ . = ..()
+
+/datum/reagent/water/reaction_mob(mob/living/M, method, reac_volume)
+ . = ..()
+ if(HAS_TRAIT(M, TRAIT_WATER_SPONGE))
+ if(method == TOUCH)
+ M.reagents.add_reagent(/datum/reagent/water, reac_volume/2)
+ if(method == VAPOR)
+ M.reagents.add_reagent(/datum/reagent/water, reac_volume/3)
+
+
+/datum/reagent/water/proc/fat_hide(mob/living/carbon/user)
+ return volume * 3.5
+
+/obj/machinery/shower/process()
+ ..()
+ for(var/atom/movable/AM in loc)
+ if(iscarbon(AM))
+ if(HAS_TRAIT(AM, TRAIT_WATER_SPONGE))
+ var/mob/living/carbon/L = AM
+ L.reagents.add_reagent(/datum/reagent/water, 3)
+
+/mob/living/carbon/proc/water_check(datum/gas_mixture/breath)
+ var/breath_gases = breath.gases
+ if(breath_gases[/datum/gas/water_vapor])
+ if(HAS_TRAIT(src, TRAIT_WATER_SPONGE))
+ var/H2O_pp = breath.get_breath_partial_pressure(breath_gases[/datum/gas/water_vapor])
+ reagents.add_reagent(/datum/reagent/water, H2O_pp/10)
+ breath_gases[/datum/gas/water_vapor] -= H2O_pp
+
+/obj/structure/sink
+ var/mob/living/attached
+
+/obj/structure/sink/MouseDrop(mob/living/target)
+ . = ..()
+ if(!ishuman(usr) || !usr.canUseTopic(src, BE_CLOSE) || !isliving(target))
+ return
+ if(attached)
+ visible_message("[attached] is detached from [src].")
+ attached = null
+ return
+ if(Adjacent(target) && usr.Adjacent(target))
+ usr.visible_message("[usr] attaches [target] to [src].", "You attach [target] to [src].")
+ add_fingerprint(usr)
+ attached = target
+ START_PROCESSING(SSobj, src)
+
+/obj/structure/sink/process()
+ if(!(get_dist(src, attached) <= 1 && isturf(attached.loc)))
+ to_chat(attached, "[attached] is ripped from the sink!") // GS13
+ attached = null
+ return PROCESS_KILL
+ if(attached)
+ playsound(attached, 'sound/vore/pred/swallow_02.ogg', rand(10,50), 1)
+ attached.reagents.add_reagent(/datum/reagent/water, 5)
+ else
+ return PROCESS_KILL
+
+/obj/structure/sink/attack_hand(mob/living/user)
+ if(attached)
+ visible_message("[attached] is detached from [src]")
+ attached = null
+ return
diff --git a/GainStation13/code/mobs/chocoslime.dm b/GainStation13/code/mobs/chocoslime.dm
index 0fac4752..a800ea1b 100644
--- a/GainStation13/code/mobs/chocoslime.dm
+++ b/GainStation13/code/mobs/chocoslime.dm
@@ -57,7 +57,7 @@
icon_dead = "icecream_monster_dead"
icon_gib = "icecream_monster_dead"
move_to_delay = 10
- projectiletype = /obj/item/projectile/energy/fattening/icecream
+ projectiletype = /obj/item/projectile/beam/fattening/icecream
projectilesound = 'sound/weapons/pierce.ogg'
ranged = 1
ranged_message = "schlorps"
@@ -74,7 +74,7 @@
gold_core_spawnable = HOSTILE_SPAWN
butcher_results = list(/obj/item/reagent_containers/food/snacks/icecream = 4)
-/obj/item/projectile/energy/fattening/icecream //might as well make use of this thing to not make ton of different variants of the same thing
+/obj/item/projectile/beam/fattening/icecream //might as well make use of this thing to not make ton of different variants of the same thing
name = "ice cream blob"
icon = 'GainStation13/icons/mob/candymonster.dmi'
icon_state = "icecream_projectile"
@@ -88,7 +88,7 @@
var/food_fed = /datum/reagent/consumable/nutriment
var/fullness_add = 30
-/obj/item/projectile/energy/fattening/icecream/on_hit(atom/target, blocked)
+/obj/item/projectile/beam/fattening/icecream/on_hit(atom/target, blocked)
. = ..()
var/mob/living/carbon/L = target
if(L.client?.prefs?.weight_gain_weapons)
diff --git a/GainStation13/code/modules/client/preferences/preferences.dm b/GainStation13/code/modules/client/preferences/preferences.dm
index 3a3e920c..1175fde5 100644
--- a/GainStation13/code/modules/client/preferences/preferences.dm
+++ b/GainStation13/code/modules/client/preferences/preferences.dm
@@ -13,6 +13,8 @@
var/weight_gain_magic = FALSE
///Weight gain from viruses
var/weight_gain_viruses = FALSE
+ ///Weight gain from nanites
+ var/weight_gain_nanites = FALSE
///Blueberry Inflation
var/blueberry_inflation = FALSE
///Extreme weight gain
diff --git a/GainStation13/code/modules/research/nanites/nanite_programs/fattening.dm b/GainStation13/code/modules/research/nanites/nanite_programs/fattening.dm
index 8bada8b6..e020989e 100644
--- a/GainStation13/code/modules/research/nanites/nanite_programs/fattening.dm
+++ b/GainStation13/code/modules/research/nanites/nanite_programs/fattening.dm
@@ -98,7 +98,7 @@
var/mob/living/carbon/C = host_mob
if(BFI.get_value() > 0)
if(consume_nanites(BFI.get_value()))
- C.adjust_fatness(BFI.get_value(), FATTENING_TYPE_ITEM)
+ C.adjust_fatness(BFI.get_value(), FATTENING_TYPE_NANITES)
else
if(consume_nanites(-(BFI.get_value())))
C.adjust_fatness(BFI.get_value(), FATTENING_TYPE_WEIGHT_LOSS)
@@ -150,7 +150,7 @@
/datum/nanite_program/bwomf/on_trigger(comm_message)
if(iscarbon(host_mob))
var/mob/living/carbon/C = host_mob
- C.adjust_fatness(100, FATTENING_TYPE_ITEM)
+ C.adjust_fatness(100, FATTENING_TYPE_NANITES)
to_chat(C, "[pick("Your belly expands quickly!", "Fat envelops you further!", "Lard grows all over you!")]")
/datum/design/nanites/bwomf
diff --git a/GainStation13/code/obj/items/bluespace_belt.dm b/GainStation13/code/obj/items/bluespace_belt.dm
index db676eb1..c551b18e 100644
--- a/GainStation13/code/obj/items/bluespace_belt.dm
+++ b/GainStation13/code/obj/items/bluespace_belt.dm
@@ -8,20 +8,27 @@
equip_sound = 'sound/items/equip/toolbelt_equip.ogg'
drop_sound = 'sound/items/handling/toolbelt_drop.ogg'
pickup_sound = 'sound/items/handling/toolbelt_pickup.ogg'
- var/hide_value = 0
/obj/item/bluespace_belt/equipped(mob/user, slot)
..()
+ if(!iscarbon(user))
+ return
var/mob/living/carbon/U = user
if(slot == SLOT_BELT)
- to_chat(user, "You put the belt around your waist and your mass begins to shrink...")
- U.fat_hide(hide_value, src)
+ to_chat(U, "You put the belt around your waist and your mass begins to shrink...")
+ U.hider_add(src)
else
to_chat(user, "The belt is opened, letting your mass flow out!")
- U.fat_show()
+ U.hider_remove(src)
/obj/item/bluespace_belt/dropped(mob/user)
..()
- to_chat(user, "The belt is opened, letting your mass flow out!")
+ if(!iscarbon(user))
+ return
var/mob/living/carbon/U = user
- U.fat_show()
+ to_chat(U, "The belt is opened, letting your mass flow out!")
+ U.hider_remove(src)
+
+/obj/item/bluespace_belt/proc/fat_hide(var/mob/living/carbon/user)
+ return -(user.fatness_real - 1)
+
diff --git a/GainStation13/code/obj/items/holy.dm b/GainStation13/code/obj/items/holy.dm
index f1ae3358..b2207b6d 100644
--- a/GainStation13/code/obj/items/holy.dm
+++ b/GainStation13/code/obj/items/holy.dm
@@ -2,9 +2,9 @@
. = ..()
if(iscarbon(target))
var/mob/living/carbon/T = target
- if(T.fat_hider)
- if(isitem(T.fat_hider))
- var/obj/item/O = T.fat_hider
+ for(var/hider in T.fat_hiders)
+ if(isitem(hider))
+ var/obj/item/O = hider
T.dropItemToGround(O)
if(T.cursed_fat == 1)
T.cursed_fat = 0
@@ -14,9 +14,9 @@
. = ..()
if(iscarbon(M))
var/mob/living/carbon/T = M
- if(T.fat_hider)
- if(isitem(T.fat_hider))
- var/obj/item/O = T.fat_hider
+ for(var/hider in T.fat_hiders)
+ if(isitem(hider))
+ var/obj/item/O = hider
T.dropItemToGround(O)
if(T.cursed_fat == 1)
T.cursed_fat = 0
@@ -24,9 +24,9 @@
/datum/reagent/water/holywater/on_mob_life(mob/living/carbon/M)
. = ..()
- if(M.fat_hider)
- if(isitem(M.fat_hider))
- var/obj/item/O = M.fat_hider
+ for(var/hider in M.fat_hiders)
+ if(isitem(hider))
+ var/obj/item/O = hider
M.dropItemToGround(O)
if(M.cursed_fat == 1)
M.cursed_fat = 0
diff --git a/GainStation13/code/obj/weapons/fatoray.dm b/GainStation13/code/obj/weapons/fatoray.dm
index 8de22d38..77aaf313 100644
--- a/GainStation13/code/obj/weapons/fatoray.dm
+++ b/GainStation13/code/obj/weapons/fatoray.dm
@@ -16,10 +16,10 @@
/obj/item/ammo_casing/energy/fattening
name = "fattening weapon lens"
select_name = "fatten"
- projectile_type = /obj/item/projectile/energy/fattening
+ projectile_type = /obj/item/projectile/beam/fattening
///The base projectile used by the fatoray
-/obj/item/projectile/energy/fattening
+/obj/item/projectile/beam/fattening
name = "fat energy"
icon = 'GainStation13/icons/obj/fatoray.dmi'
icon_state = "ray"
@@ -27,12 +27,12 @@
ricochet_chance = 80
hitsound = 'sound/weapons/sear.ogg'
hitsound_wall = 'sound/weapons/effects/searwall.ogg'
- is_reflectable = TRUE
+ damage = 0
+ eyeblur = 0
+ damage_type = BURN
+ flag = "energy"
light_range = 2
light_color = LIGHT_COLOR_ORANGE
- ricochets_max = 50
- ricochet_chance = 80
- is_reflectable = TRUE
///How much fat is added to the target mob?
var/fat_added = 100
@@ -58,9 +58,9 @@
name = "one-shot fattening weapon lens"
select_name = "fatten"
e_cost = 100
- projectile_type = /obj/item/projectile/energy/fattening/cannon
+ projectile_type = /obj/item/projectile/beam/fattening/cannon
-/obj/item/projectile/energy/fattening/cannon
+/obj/item/projectile/beam/fattening/cannon
name = "fat energy"
icon = 'GainStation13/icons/obj/fatoray.dmi'
icon_state = "cannon_ray"
@@ -85,10 +85,10 @@
/obj/item/ammo_casing/energy/fattening/weak
name = "budget fattening weapon lens"
select_name = "fatten"
- projectile_type = /obj/item/projectile/energy/fattening/weak
+ projectile_type = /obj/item/projectile/beam/fattening/weak
///The base projectile used by the fatoray
-/obj/item/projectile/energy/fattening/weak
+/obj/item/projectile/beam/fattening/weak
name = "fat energy"
icon = 'GainStation13/icons/obj/fatoray.dmi'
icon_state = "ray"
@@ -115,9 +115,9 @@
name = "one-shot fattening weapon lens"
select_name = "fatten"
e_cost = 300
- projectile_type = /obj/item/projectile/energy/fattening/cannon_weak
+ projectile_type = /obj/item/projectile/beam/fattening/cannon_weak
-/obj/item/projectile/energy/fattening/cannon_weak
+/obj/item/projectile/beam/fattening/cannon_weak
name = "fat energy"
icon = 'GainStation13/icons/obj/fatoray.dmi'
icon_state = "cannon_ray"
@@ -129,7 +129,7 @@
///////////////////////////////////////
-/obj/item/projectile/energy/fattening/on_hit(atom/target, blocked)
+/obj/item/projectile/beam/fattening/on_hit(atom/target, blocked)
. = ..()
var/mob/living/carbon/gainer = target
diff --git a/_maps/map_files/Mining/Lavaland_Lower.dmm b/_maps/map_files/Mining/Lavaland_Lower.dmm
index 4f419ae9..7a841e8f 100644
--- a/_maps/map_files/Mining/Lavaland_Lower.dmm
+++ b/_maps/map_files/Mining/Lavaland_Lower.dmm
@@ -7489,7 +7489,7 @@
dir = 2;
id = "fatchamber"
},
-/obj/item/projectile/energy/fattening/cannon,
+/obj/item/projectile/beam/fattening/cannon,
/turf/open/floor/plating,
/area/xenoarch/caloriteresearch_powered)
"tf" = (
@@ -7785,7 +7785,7 @@
/turf/open/floor/plasteel/dark,
/area/xenoarch/gen)
"uG" = (
-/obj/item/projectile/energy/fattening/cannon,
+/obj/item/projectile/beam/fattening/cannon,
/turf/open/floor/mineral/calorite,
/area/xenoarch/caloriteresearch_powered)
"uH" = (
diff --git a/_maps/map_files/generic/CentCom.dmm b/_maps/map_files/generic/CentCom.dmm
index 0c463ca6..ac5f5c81 100644
--- a/_maps/map_files/generic/CentCom.dmm
+++ b/_maps/map_files/generic/CentCom.dmm
@@ -2504,7 +2504,7 @@
"rRn" = (/obj/machinery/door/airlock/public{dir = 4},/turf/open/floor/plasteel/freezer,/area/fatlab)
"rRu" = (/obj/effect/turf_decal/stripes/white,/turf/open/floor/plasteel/dark,/area/fatlab)
"rRy" = (/obj/effect/turf_decal/stripes/asteroid/line,/obj/effect/turf_decal/tile/brown{dir = 8},/obj/effect/turf_decal/tile/brown,/obj/effect/decal/cleanable/dirt,/turf/open/floor/plasteel/dark,/area/fatlab)
-"rSj" = (/obj/item/projectile/energy/fattening/cannon_weak,/turf/open/floor/plasteel,/area/awaymission/jungleresort)
+"rSj" = (/obj/item/projectile/beam/fattening/cannon_weak,/turf/open/floor/plasteel,/area/awaymission/jungleresort)
"rSF" = (/obj/machinery/vending/magivend,/turf/open/floor/engine/cult,/area/wizard_station)
"rSQ" = (/obj/structure/table/reinforced,/obj/item/kitchen/knife,/obj/item/reagent_containers/food/condiment/saltshaker{pixel_x = -8; pixel_y = 5},/obj/item/reagent_containers/food/condiment/peppermill{pixel_x = -8},/turf/open/floor/plasteel/cafeteria,/area/centcom/ferry)
"rSZ" = (/obj/machinery/light/small{dir = 8},/obj/structure/toilet,/turf/open/floor/plasteel/white,/area/centcom/ferry)
@@ -2607,7 +2607,7 @@
"sBN" = (/obj/structure/table/reinforced,/obj/machinery/door/firedoor,/obj/item/reagent_containers/food/condiment/saltshaker{pixel_x = -8; pixel_y = 5},/obj/item/reagent_containers/food/condiment/peppermill{pixel_x = -8},/obj/item/reagent_containers/food/drinks/britcup,/obj/effect/turf_decal/bot,/turf/open/floor/plasteel,/area/tdome/tdomeobserve)
"sCW" = (/obj/structure/table/wood,/obj/structure/window/reinforced/spawner/north,/obj/structure/window/reinforced/spawner/west,/obj/item/rupee{desc = "A gift, right?"},/obj/item/clothing/accessory/medal/gato_badge/employee,/turf/open/floor/plasteel/grimy,/area/centcom/ferry)
"sCX" = (/obj/effect/turf_decal/stripes/corner{dir = 8},/turf/open/floor/plating,/area/syndicate_mothership)
-"sDg" = (/obj/item/projectile/energy/fattening/cannon_weak,/turf/open/floor/mineral/calorite/hide,/area/awaymission/jungleresort)
+"sDg" = (/obj/item/projectile/beam/fattening/cannon_weak,/turf/open/floor/mineral/calorite/hide,/area/awaymission/jungleresort)
"sDi" = (/obj/effect/turf_decal/stripes/line,/obj/effect/turf_decal/tile/blue{dir = 4},/turf/open/floor/plasteel/dark,/area/ctf)
"sDj" = (/obj/effect/decal/cleanable/dirt,/obj/effect/decal/cleanable/dirt,/turf/open/floor/plasteel,/area/fatlab)
"sDG" = (/obj/structure/rack/shelf,/obj/item/vending_refill/clothing,/obj/item/vending_refill/kink,/turf/open/floor/plasteel/dark,/area/fatlab)
diff --git a/code/__DEFINES/misc.dm b/code/__DEFINES/misc.dm
index d51813ec..5ea0dada 100644
--- a/code/__DEFINES/misc.dm
+++ b/code/__DEFINES/misc.dm
@@ -527,6 +527,7 @@ GLOBAL_LIST_INIT(lighter_reskins, list(ZIPPO_SKIN_PLAIN = "plain", ZIPPO_SKIN_DA
#define FATTENING_TYPE_WEAPON "weapon"
#define FATTENING_TYPE_MAGIC "magic"
#define FATTENING_TYPE_VIRUS "virus"
-#define FATTENING_TYPE_WEIGHT_LOSS "weight_loss"
+#define FATTENING_TYPE_NANITES "nanites"
+#define FATTENING_TYPE_WEIGHT_LOSS "weight_loss"
#define FATNESS_TO_WEIGHT_RATIO 0.25
diff --git a/code/__DEFINES/traits.dm b/code/__DEFINES/traits.dm
index 1778d470..a5ad770e 100644
--- a/code/__DEFINES/traits.dm
+++ b/code/__DEFINES/traits.dm
@@ -204,6 +204,8 @@
#define TRAIT_WEAKLEGS "weak_legs"
#define TRAIT_STRONGLEGS "strong_legs"
#define TRAIT_WEB_WEAVER "web_weaving"
+#define TRAIT_METAL_CRUNCHER "metal_cruncher"
+#define TRAIT_WATER_SPONGE "water_sponge"
//Hyper
#define TRAIT_MACROPHILE "macrophile" //likes the big
diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm
index a33d2a3c..b2e83199 100644
--- a/code/modules/client/preferences.dm
+++ b/code/modules/client/preferences.dm
@@ -1063,6 +1063,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
dat += "Weight Gain - Weapons:[weight_gain_weapons == TRUE ? "Enabled" : "Disabled"]
"
dat += "Weight Gain - Magic:[weight_gain_magic == TRUE ? "Enabled" : "Disabled"]
"
dat += "Weight Gain - Viruses:[weight_gain_viruses == TRUE ? "Enabled" : "Disabled"]
"
+ dat += "Weight Gain - Nanites:[weight_gain_nanites == TRUE ? "Enabled" : "Disabled"]
"
dat += "Blueberry Inflation:[blueberry_inflation == TRUE ? "Enabled" : "Disabled"]
"
dat += "