Makes belly noises actually togglable
This commit is contained in:
@@ -388,6 +388,7 @@
|
|||||||
P.digestable = src.digestable
|
P.digestable = src.digestable
|
||||||
P.devourable = src.devourable
|
P.devourable = src.devourable
|
||||||
P.feeding = src.feeding
|
P.feeding = src.feeding
|
||||||
|
P.noisy = src.noisy
|
||||||
P.vore_taste = src.vore_taste
|
P.vore_taste = src.vore_taste
|
||||||
|
|
||||||
var/list/serialized = list()
|
var/list/serialized = list()
|
||||||
@@ -412,6 +413,7 @@
|
|||||||
digestable = P.digestable
|
digestable = P.digestable
|
||||||
devourable = P.devourable
|
devourable = P.devourable
|
||||||
feeding = P.feeding
|
feeding = P.feeding
|
||||||
|
noisy = P.noisy
|
||||||
vore_taste = P.vore_taste
|
vore_taste = P.vore_taste
|
||||||
|
|
||||||
release_vore_contents(silent = TRUE)
|
release_vore_contents(silent = TRUE)
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ GLOBAL_LIST_EMPTY(vore_preferences_datums)
|
|||||||
var/devourable = FALSE
|
var/devourable = FALSE
|
||||||
var/feeding = FALSE
|
var/feeding = FALSE
|
||||||
// var/allowmobvore = TRUE
|
// var/allowmobvore = TRUE
|
||||||
|
var/noisy = FALSE
|
||||||
var/list/belly_prefs = list()
|
var/list/belly_prefs = list()
|
||||||
var/vore_taste = "nothing in particular"
|
var/vore_taste = "nothing in particular"
|
||||||
// var/can_be_drop_prey = FALSE
|
// var/can_be_drop_prey = FALSE
|
||||||
@@ -107,6 +108,7 @@ GLOBAL_LIST_EMPTY(vore_preferences_datums)
|
|||||||
digestable = json_from_file["digestable"]
|
digestable = json_from_file["digestable"]
|
||||||
devourable = json_from_file["devourable"]
|
devourable = json_from_file["devourable"]
|
||||||
feeding = json_from_file["feeding"]
|
feeding = json_from_file["feeding"]
|
||||||
|
noisy = json_from_file["noisy"]
|
||||||
vore_taste = json_from_file["vore_taste"]
|
vore_taste = json_from_file["vore_taste"]
|
||||||
belly_prefs = json_from_file["belly_prefs"]
|
belly_prefs = json_from_file["belly_prefs"]
|
||||||
|
|
||||||
@@ -117,6 +119,8 @@ GLOBAL_LIST_EMPTY(vore_preferences_datums)
|
|||||||
devourable = FALSE
|
devourable = FALSE
|
||||||
if(isnull(feeding))
|
if(isnull(feeding))
|
||||||
feeding = FALSE
|
feeding = FALSE
|
||||||
|
if(isnull(noisy))
|
||||||
|
noisy = FALSE
|
||||||
if(isnull(belly_prefs))
|
if(isnull(belly_prefs))
|
||||||
belly_prefs = list()
|
belly_prefs = list()
|
||||||
|
|
||||||
@@ -132,6 +136,7 @@ GLOBAL_LIST_EMPTY(vore_preferences_datums)
|
|||||||
"digestable" = digestable,
|
"digestable" = digestable,
|
||||||
"devourable" = devourable,
|
"devourable" = devourable,
|
||||||
"feeding" = feeding,
|
"feeding" = feeding,
|
||||||
|
"noisy" = noisy,
|
||||||
"vore_taste" = vore_taste,
|
"vore_taste" = vore_taste,
|
||||||
"belly_prefs" = belly_prefs,
|
"belly_prefs" = belly_prefs,
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -695,7 +695,7 @@
|
|||||||
var/choice = alert(user, "This button is for those who don't like being digested. It can make you undigestable to all mobs. Digesting you is currently: [user.digestable ? "Allowed" : "Prevented"]", "", "Allow Digestion", "Cancel", "Prevent Digestion")
|
var/choice = alert(user, "This button is for those who don't like being digested. It can make you undigestable to all mobs. Digesting you is currently: [user.digestable ? "Allowed" : "Prevented"]", "", "Allow Digestion", "Cancel", "Prevent Digestion")
|
||||||
switch(choice)
|
switch(choice)
|
||||||
if("Cancel")
|
if("Cancel")
|
||||||
return
|
return 0
|
||||||
if("Allow Digestion")
|
if("Allow Digestion")
|
||||||
user.digestable = TRUE
|
user.digestable = TRUE
|
||||||
if("Prevent Digestion")
|
if("Prevent Digestion")
|
||||||
@@ -708,7 +708,7 @@
|
|||||||
var/choice = alert(user, "This button is for those who don't like vore at all. Devouring you is currently: [user.devourable ? "Allowed" : "Prevented"]", "", "Allow Devourment", "Cancel", "Prevent Devourment")
|
var/choice = alert(user, "This button is for those who don't like vore at all. Devouring you is currently: [user.devourable ? "Allowed" : "Prevented"]", "", "Allow Devourment", "Cancel", "Prevent Devourment")
|
||||||
switch(choice)
|
switch(choice)
|
||||||
if("Cancel")
|
if("Cancel")
|
||||||
return
|
return 0
|
||||||
if("Allow Devourment")
|
if("Allow Devourment")
|
||||||
user.devourable = TRUE
|
user.devourable = TRUE
|
||||||
if("Prevent Devourment")
|
if("Prevent Devourment")
|
||||||
@@ -721,7 +721,7 @@
|
|||||||
var/choice = alert(user, "This button is to toggle your ability to be fed to others. Feeding predators is currently: [user.feeding ? "Allowed" : "Prevented"]", "", "Allow Feeding", "Cancel", "Prevent Feeding")
|
var/choice = alert(user, "This button is to toggle your ability to be fed to others. Feeding predators is currently: [user.feeding ? "Allowed" : "Prevented"]", "", "Allow Feeding", "Cancel", "Prevent Feeding")
|
||||||
switch(choice)
|
switch(choice)
|
||||||
if("Cancel")
|
if("Cancel")
|
||||||
return
|
return 0
|
||||||
if("Allow Feeding")
|
if("Allow Feeding")
|
||||||
user.feeding = TRUE
|
user.feeding = TRUE
|
||||||
if("Prevent Feeding")
|
if("Prevent Feeding")
|
||||||
@@ -730,5 +730,15 @@
|
|||||||
if(user.client.prefs_vr)
|
if(user.client.prefs_vr)
|
||||||
user.client.prefs_vr.feeding = user.feeding
|
user.client.prefs_vr.feeding = user.feeding
|
||||||
|
|
||||||
|
if(href_list["togglenoisy"])
|
||||||
|
var/choice = alert(user, "Toggle audible hunger noises. Currently: [user.noisy ? "Enabled" : "Disabled"]", "", "Enable audible hunger", "Cancel", "Disable audible hunger")
|
||||||
|
switch(choice)
|
||||||
|
if("Cancel")
|
||||||
|
return 0
|
||||||
|
if("Enable audible hunger")
|
||||||
|
user.noisy = TRUE
|
||||||
|
if("Disable audible hunger")
|
||||||
|
user.noisy = FALSE
|
||||||
|
|
||||||
//Refresh when interacted with, returning 1 makes vore_look.Topic update
|
//Refresh when interacted with, returning 1 makes vore_look.Topic update
|
||||||
return 1
|
return 1
|
||||||
Reference in New Issue
Block a user