Update resize pref and some resizing code

This commit is contained in:
Aronai Sieyes
2021-04-07 15:15:51 -04:00
parent a923324c11
commit 081b100e10
18 changed files with 149 additions and 88 deletions
+1 -1
View File
@@ -134,7 +134,7 @@
to_chat(nif.human,"<span class='notice'>The safety features of the NIF Program prevent you from choosing this size.</span>")
return
else
if(nif.human.resize(new_size/100))
if(nif.human.resize(new_size/100, ignore_prefs = TRUE))
to_chat(nif.human,"<span class='notice'>You set the size to [new_size]%</span>")
nif.human.visible_message("<span class='warning'>Swirling grey mist envelops [nif.human] as they change size!</span>","<span class='notice'>Swirling streams of nanites wrap around you as you change size!</span>")
spawn(0)