Files
Paradise/code/game/objects/items/stacks/sheets/sheets.dm
Henri215 6826d2ba7b Moving some in hand icons to different files (#20748)
* Moving some icons out of left/righthand.dmi

* Moving sheets and ores
2023-04-25 21:13:02 +02:00

27 lines
1.3 KiB
Plaintext

/obj/item/stack/sheet
name = "sheet"
icon = 'icons/obj/stacks/minerals.dmi'
lefthand_file = 'icons/mob/inhands/sheet_lefthand.dmi'
righthand_file = 'icons/mob/inhands/sheet_righthand.dmi'
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/point_value = 0 //turn-in value for the gulag stacker - loosely relative to its rarity.
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
var/wall_allowed = TRUE //determines if sheet can be used in wall construction or not.
dynamic_icon_state = TRUE
/obj/item/stack/sheet/examine(mob/user)
. = ..()
. += "<span class='notice'><b>Use it in hand</b> to bring up the recipe menu. If you have enough sheets, click on something on the list to build it.</span>"