mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-04-11 23:11:46 +01:00
Some stacks didn't have their gender set to plural, despite having a pluralized item name.
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
/obj/item/stack/tile/plasteel
|
|
name = "floor tiles"
|
|
gender = PLURAL
|
|
singular_name = "floor tile"
|
|
desc = "Those could work as a pretty decent throwing weapon"
|
|
icon_state = "tile"
|
|
w_class = 3.0
|
|
force = 6.0
|
|
m_amt = 937.5
|
|
throwforce = 10.0
|
|
throw_speed = 3
|
|
throw_range = 7
|
|
flags = CONDUCT
|
|
max_amount = 60
|
|
|
|
/obj/item/stack/tile/plasteel/New(var/loc, var/amount=null)
|
|
..()
|
|
src.pixel_x = rand(1, 14)
|
|
src.pixel_y = rand(1, 14)
|
|
return
|
|
|
|
/*
|
|
/obj/item/stack/tile/plasteel/attack_self(mob/user as mob)
|
|
if (usr.stat)
|
|
return
|
|
var/T = user.loc
|
|
if (!( istype(T, /turf) ))
|
|
user << "\red You must be on the ground!"
|
|
return
|
|
if (!( istype(T, /turf/space) ))
|
|
user << "\red You cannot build on or repair this turf!"
|
|
return
|
|
src.build(T)
|
|
src.add_fingerprint(user)
|
|
use(1)
|
|
return
|
|
*/
|
|
|
|
/obj/item/stack/tile/plasteel/proc/build(turf/S as turf)
|
|
if (istype(S,/turf/space))
|
|
S.ChangeTurf(/turf/simulated/floor/plating/airless)
|
|
else
|
|
S.ChangeTurf(/turf/simulated/floor/plating)
|
|
// var/turf/simulated/floor/W = S.ReplaceWithFloor()
|
|
// W.make_plating()
|
|
return |