mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 04:32:42 +00:00
Fixes errors in energy/special.dm
This commit is contained in:
@@ -160,7 +160,7 @@ obj/item/weapon/gun/energy/staff/focus
|
|||||||
/obj/item/weapon/gun/energy/icarus
|
/obj/item/weapon/gun/energy/icarus
|
||||||
name = "rubber ducky"
|
name = "rubber ducky"
|
||||||
desc = "It's a cute rubber duck. With an evil gleam in it's eye."
|
desc = "It's a cute rubber duck. With an evil gleam in it's eye."
|
||||||
projectile_type = "/obj/item/projectile/icarus/pointdefense"
|
projectile_type = /obj/item/projectile/icarus/pointdefense
|
||||||
icon = 'icons/obj/watercloset.dmi'
|
icon = 'icons/obj/watercloset.dmi'
|
||||||
icon_state = "rubberducky"
|
icon_state = "rubberducky"
|
||||||
item_state = "rubberducky"
|
item_state = "rubberducky"
|
||||||
@@ -168,11 +168,11 @@ obj/item/weapon/gun/energy/staff/focus
|
|||||||
silenced = 1
|
silenced = 1
|
||||||
|
|
||||||
/obj/item/weapon/gun/energy/icarus/attack_self(mob/living/user as mob)
|
/obj/item/weapon/gun/energy/icarus/attack_self(mob/living/user as mob)
|
||||||
if(projectile_type == "/obj/item/projectile/icarus/pointdefense")
|
if(projectile_type == /obj/item/projectile/icarus/pointdefense)
|
||||||
projectile_type = "/obj/item/projectile/icarus/guns"
|
projectile_type = /obj/item/projectile/icarus/guns
|
||||||
user << "You inform the Icarus to switch to the main guns."
|
user << "You inform the Icarus to switch to the main guns."
|
||||||
else
|
else
|
||||||
projectile_type = "/obj/item/projectile/icarus/pointdefense"
|
projectile_type = /obj/item/projectile/icarus/pointdefense
|
||||||
user << "You inform the Icarus to switch to the point-defense lasers."
|
user << "You inform the Icarus to switch to the point-defense lasers."
|
||||||
|
|
||||||
. = ..()
|
. = ..()
|
||||||
@@ -202,5 +202,5 @@ obj/item/weapon/gun/energy/staff/focus
|
|||||||
var/type = input(user,"What projectile type?","Projectile", null) as null|anything in typesof(/obj/item/projectile)
|
var/type = input(user,"What projectile type?","Projectile", null) as null|anything in typesof(/obj/item/projectile)
|
||||||
if(!type)
|
if(!type)
|
||||||
return ..()
|
return ..()
|
||||||
|
projectile_type = type
|
||||||
. = ..()
|
. = ..()
|
||||||
|
|||||||
Reference in New Issue
Block a user