Files
Paradise/code/game/objects/items/stacks/sheets/sheets.dm
FalseIncarnate 9018195366 Windows Update
Your computer will restart in-

No, not that kind of Windows Update!

Updates windows code (and not delete sys32) to be better in various
regards

Full windows now have double the health of their directional
counterparts. You spend twice the glass, you get twice the integrity!

You can now build one directional OR full windows on grilles, as well as
select the direction of the one directional window you are building on
the grille!
- This is largely quality of life, saves some time on the actual
repairing / building of windows.

🆑
tweak: Full windows are now 100% stronger than before, so you don't have
to pick strength over security.
tweak: Full windows now take longer to deconstruct so they offer
slightly better security against break-ins. Toolspeed does apply.
rscadd: Full and directional windows can be built on grilles now, and
you can even pick the direction! Technically both a tweak and an
addition...
/🆑
2017-09-28 02:31:52 -04:00

30 lines
1.2 KiB
Plaintext

/obj/item/stack/sheet
name = "sheet"
w_class = WEIGHT_CLASS_NORMAL
force = 5
throwforce = 5
max_amount = 50
throw_speed = 1
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
var/created_window = null //apparently glass sheets don't share a base type for glass specifically, so each had to define these vars individually
var/full_window = null //moving the var declaration to here so this can be checked cleaner until someone is willing to make them share a base type properly
usesound = 'sound/items/Deconstruct.ogg'
toolspeed = 1
// 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, params)
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)
..()*/