Adds the Restraining Bolt. (#7820)

* Adds the Restraining Bolt.

* Malfunction.
This commit is contained in:
Mechoid
2021-02-28 14:02:12 -09:00
committed by GitHub
parent 74658734a8
commit 8dc04048ed
13 changed files with 162 additions and 11 deletions
+4
View File
@@ -64,6 +64,10 @@
else
return
if(robotic && owner.get_restraining_bolt())
to_chat(owner, "<span class='warning'>\The [src] doesn't respond.</span>")
return
var/item_to_equip = integrated_object
if(!item_to_equip && integrated_object_type)
item_to_equip = integrated_object_type