Adds food vore

This commit is contained in:
Heroman
2023-08-22 20:12:24 +10:00
parent 505df6a184
commit 71e124718e
11 changed files with 255 additions and 18 deletions
+4
View File
@@ -38,6 +38,7 @@
var/slip_vore = TRUE //Enabled by default since you have to enable drop pred/prey to do this anyway
var/drop_vore = TRUE //Enabled by default since you have to enable drop pred/prey to do this anyway
var/throw_vore = TRUE //Enabled by default since you have to enable drop pred/prey to do this anyway
var/food_vore = TRUE //Enabled by default since you have to enable drop pred/prey to do this anyway
var/can_be_drop_prey = FALSE
var/can_be_drop_pred = FALSE
var/allow_spontaneous_tf = FALSE // Obviously.
@@ -284,6 +285,7 @@
P.drop_vore = src.drop_vore
P.slip_vore = src.slip_vore
P.throw_vore = src.throw_vore
P.food_vore = src.food_vore
P.stumble_vore = src.stumble_vore
P.eating_privacy_global = src.eating_privacy_global
@@ -333,6 +335,7 @@
slip_vore = P.slip_vore
throw_vore = P.throw_vore
stumble_vore = P.stumble_vore
food_vore = P.food_vore
eating_privacy_global = P.eating_privacy_global
nutrition_message_visible = P.nutrition_message_visible
@@ -1108,6 +1111,7 @@
dispvoreprefs += "<b>Slip Vore:</b> [slip_vore ? "Enabled" : "Disabled"]<br>"
dispvoreprefs += "<b>Throw vore:</b> [throw_vore ? "Enabled" : "Disabled"]<br>"
dispvoreprefs += "<b>Stumble Vore:</b> [stumble_vore ? "Enabled" : "Disabled"]<br>"
dispvoreprefs += "<b>Food Vore:</b> [food_vore ? "Enabled" : "Disabled"]<br>"
dispvoreprefs += "<b>Inbelly Spawning:</b> [allow_inbelly_spawning ? "Allowed" : "Disallowed"]<br>"
dispvoreprefs += "<b>Spontaneous transformation:</b> [allow_spontaneous_tf ? "Enabled" : "Disabled"]<br>"
dispvoreprefs += "<b>Can be stepped on/over:</b> [step_mechanics_pref ? "Allowed" : "Disallowed"]<br>"
+5
View File
@@ -62,6 +62,7 @@ V::::::V V::::::VO:::::::OOO:::::::ORR:::::R R:::::REE::::::EEEEEE
var/stumble_vore = TRUE
var/slip_vore = TRUE
var/throw_vore = TRUE
var/food_vore = TRUE
var/resizable = TRUE
var/show_vore_fx = TRUE
@@ -183,6 +184,7 @@ V::::::V V::::::VO:::::::OOO:::::::ORR:::::R R:::::REE::::::EEEEEE
belly_prefs = json_from_file["belly_prefs"]
drop_vore = json_from_file["drop_vore"]
slip_vore = json_from_file["slip_vore"]
food_vore = json_from_file["food_vore"]
throw_vore = json_from_file["throw_vore"]
stumble_vore = json_from_file["stumble_vore"]
nutrition_message_visible = json_from_file["nutrition_message_visible"]
@@ -236,6 +238,8 @@ V::::::V V::::::VO:::::::OOO:::::::ORR:::::R R:::::REE::::::EEEEEE
throw_vore = TRUE
if(isnull(stumble_vore))
stumble_vore = TRUE
if(isnull(food_vore))
food_vore = TRUE
if(isnull(nutrition_message_visible))
nutrition_message_visible = TRUE
if(isnull(weight_message_visible))
@@ -306,6 +310,7 @@ V::::::V V::::::VO:::::::OOO:::::::ORR:::::R R:::::REE::::::EEEEEE
"slip_vore" = slip_vore,
"stumble_vore" = stumble_vore,
"throw_vore" = throw_vore,
"food_vore" = food_vore,
"nutrition_message_visible" = nutrition_message_visible,
"nutrition_messages" = nutrition_messages,
"weight_message_visible" = weight_message_visible,
+5
View File
@@ -313,6 +313,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
"slip_vore" = host.slip_vore,
"stumble_vore" = host.stumble_vore,
"throw_vore" = host.throw_vore,
"food_vore" = host.food_vore,
"nutrition_message_visible" = host.nutrition_message_visible,
"nutrition_messages" = host.nutrition_messages,
"weight_message_visible" = host.weight_message_visible,
@@ -576,6 +577,10 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
host.throw_vore = !host.throw_vore
unsaved_changes = TRUE
return TRUE
if("toggle_food_vore")
host.food_vore = !host.food_vore
unsaved_changes = TRUE
return TRUE
if("switch_selective_mode_pref")
host.selective_preference = tgui_input_list(usr, "What would you prefer happen to you with selective bellymode?","Selective Bellymode", list(DM_DEFAULT, DM_DIGEST, DM_ABSORB, DM_DRAIN))
if(!(host.selective_preference))