mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Removes .0 at the end of w_class numbers
This commit is contained in:
@@ -112,7 +112,7 @@
|
||||
desc = "Heavy-duty switching circuits for power control."
|
||||
icon = 'icons/obj/module.dmi'
|
||||
icon_state = "power_mod"
|
||||
w_class = 2.0
|
||||
w_class = 2
|
||||
item_state = "electronic"
|
||||
flags = CONDUCT
|
||||
|
||||
|
||||
@@ -466,7 +466,7 @@ obj/structure/cable/proc/cableColor(var/colorC)
|
||||
color = COLOR_RED
|
||||
desc = "A coil of power cable."
|
||||
throwforce = 10
|
||||
w_class = 2.0
|
||||
w_class = 2
|
||||
throw_speed = 2
|
||||
throw_range = 5
|
||||
materials = list(MAT_METAL=10, MAT_GLASS=5)
|
||||
@@ -541,9 +541,9 @@ obj/structure/cable/proc/cableColor(var/colorC)
|
||||
|
||||
/obj/item/stack/cable_coil/proc/update_wclass()
|
||||
if(amount == 1)
|
||||
w_class = 1.0
|
||||
w_class = 1
|
||||
else
|
||||
w_class = 2.0
|
||||
w_class = 2
|
||||
|
||||
/obj/item/stack/cable_coil/examine(mob/user)
|
||||
if(!..(user, 1))
|
||||
|
||||
@@ -81,4 +81,4 @@
|
||||
name = "tracker electronics"
|
||||
icon = 'icons/obj/doors/door_assembly.dmi'
|
||||
icon_state = "door_electronics"
|
||||
w_class = 2.0
|
||||
w_class = 2
|
||||
|
||||
Reference in New Issue
Block a user