mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 17:44:25 +01:00
Axes the axes
This commit is contained in:
@@ -12,10 +12,13 @@
|
||||
var/hitstaken = 0
|
||||
var/locked = 1
|
||||
var/smashed = 0
|
||||
var/starts_with_axe = FALSE
|
||||
|
||||
/obj/structure/fireaxecabinet/Initialize()
|
||||
. = ..()
|
||||
fireaxe = new /obj/item/weapon/material/twohanded/fireaxe()
|
||||
if(starts_with_axe)
|
||||
fireaxe = new /obj/item/weapon/material/twohanded/fireaxe()
|
||||
update_icon()
|
||||
|
||||
/obj/structure/fireaxecabinet/attackby(var/obj/item/O as obj, var/mob/user as mob) //Marker -Agouri
|
||||
//..() //That's very useful, Erro
|
||||
@@ -184,3 +187,7 @@
|
||||
if(fireaxe)
|
||||
hasaxe = 1
|
||||
icon_state = text("fireaxe[][][][]",hasaxe,open,hitstaken,smashed)
|
||||
|
||||
|
||||
/obj/structure/fireaxecabinet/full
|
||||
starts_with_axe = TRUE
|
||||
|
||||
Reference in New Issue
Block a user