preferences

not working! cant toggle in the menu. seems to be defined in the 3 files that it needs to be. check cant be tested, but since the preference is perma-disabled at the moment it at least seems like the bot is reading the preference and chooses not to feed you
This commit is contained in:
SeepingVisage
2024-08-13 22:09:48 -04:00
parent ce02d4604b
commit e1c0b990c2
4 changed files with 12 additions and 0 deletions
+4
View File
@@ -1056,6 +1056,8 @@ GLOBAL_LIST_EMPTY(preferences_datums)
dat += "<b>Maximum Weight:</b><a href='?_src_=prefs;preference=max_fatness'>[max_weight == FALSE ? "None" : max_weight]</a><BR>"
dat += "<b>NonCon - Weight Gain:</b><a href='?_src_=prefs;preference=noncon_weight_gain'>[noncon_weight_gain == TRUE ? "Enabled" : "Disabled"]</a><BR>"
dat += "<b>Bot Feeding:</b><a href='?_src=prefs;preference=bot_feeding'>[bot_feeding == TRUE ? "Enabled" : "Disabled"]</a><BR>"
dat += "<h2>GS13 Weight Gain</h2>"
dat += "<b>Weight Gain - Food:</b><a href='?_src_=prefs;preference=weight_gain_food'>[weight_gain_food == TRUE ? "Enabled" : "Disabled"]</a><BR>"
dat += "<b>Weight Gain - Items:</b><a href='?_src_=prefs;preference=weight_gain_items'>[weight_gain_items == TRUE ? "Enabled" : "Disabled"]</a><BR>"
@@ -2660,6 +2662,8 @@ GLOBAL_LIST_EMPTY(preferences_datums)
weight_gain_extreme = !weight_gain_extreme
if("noncon_weight_gain")
noncon_weight_gain = !noncon_weight_gain
if("bot_feeding")
bot_feeding = !bot_feeding
if("stuckage")
stuckage = !stuckage
if("blueberry_inflation")
@@ -158,6 +158,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
S["wg_rate"] >> wg_rate
S["wl_rate"] >> wl_rate
S["noncon_weight_gain"] >> noncon_weight_gain
S["bot_feeding"] >> bot_feeding
S["max_weight"] >> max_weight
S["helplessness_no_movement"] >> helplessness_no_movement
S["helplessness_clumsy"] >> helplessness_clumsy
@@ -311,6 +312,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
WRITE_FILE(S["wg_rate"], wg_rate)
WRITE_FILE(S["wl_rate"], wl_rate)
WRITE_FILE(S["noncon_weight_gain"], noncon_weight_gain)
WRITE_FILE(S["bot_feeding"], bot_feeding)
WRITE_FILE(S["max_weight"], max_weight)
WRITE_FILE(S["helplessness_no_movement"], helplessness_no_movement)
WRITE_FILE(S["helplessness_clumsy"], helplessness_clumsy)