mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-28 18:32:04 +00:00
- Also adds ABSTRACT and NODROP flags in preparation for removal of canremove and abstract vars. - Sorts some of the setup.dm flags so they're in order. - Replaces 'flags & 2' in policetape.dm with pass_flags & PASSTABLE, should have the same effect.
25 lines
822 B
Plaintext
25 lines
822 B
Plaintext
/obj/item/stack/sheet
|
|
name = "sheet"
|
|
w_class = 3.0
|
|
force = 5
|
|
throwforce = 5
|
|
max_amount = 50
|
|
throw_speed = 3
|
|
throw_range = 3
|
|
attack_verb = list("bashed", "battered", "bludgeoned", "thrashed", "smashed")
|
|
var/perunit = MINERAL_MATERIAL_AMOUNT
|
|
var/sheettype = null //this is used for girders in the creation of walls/false walls
|
|
|
|
|
|
// Since the sheetsnatcher was consolidated into weapon/storage/bag we now use
|
|
// item/attackby() properly, making this unnecessary
|
|
|
|
/*/obj/item/stack/sheet/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
|
if (istype(W, /obj/item/weapon/storage/bag/sheetsnatcher))
|
|
var/obj/item/weapon/storage/bag/sheetsnatcher/S = W
|
|
if(!S.mode)
|
|
S.add(src,user)
|
|
else
|
|
for (var/obj/item/stack/sheet/stack in locate(src.x,src.y,src.z))
|
|
S.add(stack,user)
|
|
..()*/ |