Vorepanel fixes + VTEC toggle

fixed typo in the vorepanel tgui, resulting in Item Vorebelly Size Mult: not being changebale
fixed a wrong variable use which led to broken sprites in case the Mob Vorebelly Size Mult: was tset to 0.
added VTEC toggle.
This commit is contained in:
Kashargul
2023-11-17 19:46:13 +01:00
committed by GitHub
parent 607a63808d
commit 7b17325809
3 changed files with 15 additions and 5 deletions
@@ -86,9 +86,9 @@
/obj/item/borg/upgrade/vtec/action(var/mob/living/silicon/robot/R)
if(..()) return 0
if(R.speed == -1)
if(R.speed == -1 || (/mob/living/silicon/robot/proc/toggle_vtec in R.verbs))
return 0
R.verbs += /mob/living/silicon/robot/proc/toggle_vtec
R.speed--
return 1
@@ -214,4 +214,4 @@
R.add_language(LANGUAGE_TERMINUS, 1)
R.add_language(LANGUAGE_ZADDAT, 1)
return 1
return 1