mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
makes w_class use defines (#9848)
This commit is contained in:
@@ -19,7 +19,7 @@ Contains:
|
||||
pickup_sound = 'sound/items/pickup/cardboardbox.ogg'
|
||||
amount = 5
|
||||
max_amount = 5
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throw_speed = 4
|
||||
throw_range = 20
|
||||
var/heal_brute = 0
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
singular_name = "telecrystal"
|
||||
icon = 'icons/obj/telescience.dmi'
|
||||
icon_state = "telecrystal"
|
||||
w_class = 1
|
||||
w_class = ITEMSIZE_TINY
|
||||
max_amount = 50
|
||||
flags = NOBLUDGEON
|
||||
origin_tech = list(TECH_MATERIAL = 6, TECH_BLUESPACE = 4)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
name = "tile"
|
||||
singular_name = "tile"
|
||||
desc = "A non-descript floor tile"
|
||||
w_class = 3
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
max_amount = 60
|
||||
icon = 'icons/obj/stacks/tiles.dmi'
|
||||
item_icons = list(
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
if (!isturf(loc))
|
||||
to_chat(user, SPAN_WARNING("The paper must be set down for you to wrap a gift!"))
|
||||
return
|
||||
if (W.w_class < 4)
|
||||
if (W.w_class < ITEMSIZE_LARGE)
|
||||
var/a_used = 2 * (src.w_class - 1)
|
||||
if (src.amount < a_used)
|
||||
to_chat(user, SPAN_WARNING("You need more paper!"))
|
||||
@@ -81,7 +81,7 @@
|
||||
icon = 'icons/obj/stacks/wrap.dmi'
|
||||
icon_state = "deliveryPaper"
|
||||
desc = "A roll of paper used to enclose an object for delivery."
|
||||
w_class = 3.0
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
amount = 25.0
|
||||
var/wrapping_tag = "Sorting Office"
|
||||
drop_sound = 'sound/items/drop/wrapper.ogg'
|
||||
@@ -187,6 +187,6 @@
|
||||
icon = 'icons/obj/stacks/wrap.dmi'
|
||||
icon_state = "c_tube"
|
||||
throwforce = 1
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throw_speed = 4
|
||||
throw_range = 5
|
||||
|
||||
Reference in New Issue
Block a user