mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-27 02:32:20 +00:00
This brings down a bunch of defines from /code/defines/obj.dm unto their appropriate files. I've moved morgue.dm from game/machinery into game/objects/structures since that file contains no machines. I've reorganized the objects/items/stacks folder and made a 'sheets' and 'tiles' folder to keep things separate I've separated stool_chair_bed.dm into its own folder which now contains the files: stools.dm, chairs.dm, bed.dm and alien_nests.dm to make it a little easier to go through. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4582 316c924e-a436-60f5-8080-3fe189b3f50e
21 lines
579 B
Plaintext
21 lines
579 B
Plaintext
/obj/item/stack/sheet
|
|
name = "sheet"
|
|
flags = FPRINT | TABLEPASS
|
|
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 = 3750
|
|
|
|
/obj/item/stack/sheet/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
|
if (istype(W, /obj/item/weapon/sheetsnatcher))
|
|
var/obj/item/weapon/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)
|
|
..() |