Grilles and rods.

Grilles no longer return more rods than they were created from when destroyed (by method other than wirecutters).
Rods are now acquired from and returned to a pool.
Also adds a pre-broken grille for mapping, avoids the case where one might be able to destroy the same grille twice.
This commit is contained in:
PsiOmega
2015-05-02 21:33:37 +02:00
parent a9b1f8bfe0
commit ca7fa2aa19
15 changed files with 48 additions and 38 deletions
+2 -2
View File
@@ -88,11 +88,11 @@
index = 0
while(index < 2)
new shardtype(loc)
if(reinf) new /obj/item/stack/rods(loc)
if(reinf) PoolOrNew(/obj/item/stack/rods, loc)
index++
else
new shardtype(loc)
if(reinf) new /obj/item/stack/rods(loc)
if(reinf) PoolOrNew(/obj/item/stack/rods, loc)
qdel(src)
return