Switches the pref to be a boolean, switches the checks to be booleans, adds stomptext to even display the thing, and also hopefully saves the pref.

This commit is contained in:
Zattarra
2023-07-29 18:39:00 -07:00
parent e61aa587d9
commit c186b9daae
5 changed files with 15 additions and 8 deletions
+6 -5
View File
@@ -1524,7 +1524,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
dat += "<span style='border-radius: 2px;border:1px dotted white;cursor:help;' title='Enables verbs involving farts, shit and piss.'>?</span> "
dat += "<b>Unholy ERP verbs :</b> <a href='?_src_=prefs;preference=unholypref'>[unholypref]</a><br>" //https://www.youtube.com/watch?v=OHKARc-GObU
dat += "<span style='border-radius: 2px;border:1px dotted white;cursor:help;' title='Enables macro / micro stepping and stomping interactions.'>?</span> "
dat += "<b>Stomping Interactions :</b> <a href='?_src_=prefs;preference=stomppref'>[stomppref]</a><br>"
dat += "<b>Stomping Interactions :</b> <a href='?_src_=prefs;preference=stomppref'>[stomptext]</a><br>"
//END OF SPLURT EDIT
//SKYRAT EDIT
dat += "<span style='border-radius: 2px;border:1px dotted white;cursor:help;' title='Enables verbs involving ear/brain fucking.'>?</span> " //SPLURT Edit (wow! editception???)
@@ -3515,10 +3515,11 @@ GLOBAL_LIST_EMPTY(preferences_datums)
unholypref = "Yes"
if("stomppref") // What the fuck is this?
switch(stomppref)
if("Yes")
stomppref = "No"
if("No")
stomppref = "Yes"
if(TRUE)
stomptext = "No"
if(FALSE)
stomptext = "Yes"
stomppref = !stomppref
//Skyrat edit - *someone* offered me actual money for this shit
if("extremepref") //i hate myself for doing this
switch(extremepref) //why the fuck did this need to use cycling instead of input from a list