mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-29 15:46:26 +01:00
Known errors: * A set of errors tied to updating the fire overlays. * A single error related to a dischephency between new and old slime code * A set of errors related to the recharging of stun batons * A single error due to old machinery code coming from your grav generator file * A single error error from your space cooler code, due to old atmopsherics code * A playerpanel warning * An error tied to extinguishing and old atmos code.
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
/obj/item/stack/tile/plasteel
|
|
name = "floor tile"
|
|
singular_name = "floor tile"
|
|
desc = "Those could work as a pretty decent throwing weapon"
|
|
icon_state = "tile"
|
|
w_class = 3.0
|
|
force = 6.0
|
|
matter = list("metal" = 937.5)
|
|
throwforce = 15.0
|
|
throw_speed = 5
|
|
throw_range = 20
|
|
flags = FPRINT | TABLEPASS | 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
|