mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
@@ -46,13 +46,15 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
if(istype(O, /obj/item/weapon/firework_star))
|
if(istype(O, /obj/item/weapon/firework_star))
|
||||||
loaded_star = O
|
if(loaded_star)
|
||||||
user.drop_item()
|
to_chat(user, SPAN_NOTICE("\The [src] already has \a [loaded_star] inside, unload it first!"))
|
||||||
O.forceMove(src)
|
return
|
||||||
to_chat(user, "<span class='notice'>You insert the firework star into the launcher.</span>")
|
if(user.unEquip(O, 0, src))
|
||||||
add_fingerprint(user)
|
loaded_star = O
|
||||||
update_icon()
|
to_chat(user, "<span class='notice'>You insert the firework star into the launcher.</span>")
|
||||||
return
|
add_fingerprint(user)
|
||||||
|
update_icon()
|
||||||
|
return
|
||||||
|
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
@@ -121,4 +123,4 @@
|
|||||||
var/datum/planet/P = SSplanets.z_to_planet[T.z]
|
var/datum/planet/P = SSplanets.z_to_planet[T.z]
|
||||||
if(!P)
|
if(!P)
|
||||||
return
|
return
|
||||||
return P
|
return P
|
||||||
|
|||||||
Reference in New Issue
Block a user