added GS13 edit comments, removed lipoifium canister class and added icon change fix
This commit is contained in:
@@ -60,8 +60,10 @@
|
|||||||
"caution" = /obj/machinery/portable_atmospherics/canister,
|
"caution" = /obj/machinery/portable_atmospherics/canister,
|
||||||
"miasma" = /obj/machinery/portable_atmospherics/canister/miasma,
|
"miasma" = /obj/machinery/portable_atmospherics/canister/miasma,
|
||||||
"methane" = /obj/machinery/portable_atmospherics/canister/methane,
|
"methane" = /obj/machinery/portable_atmospherics/canister/methane,
|
||||||
"methyl bromide" = /obj/machinery/portable_atmospherics/canister/methyl_bromide
|
"methyl bromide" = /obj/machinery/portable_atmospherics/canister/methyl_bromide,
|
||||||
"lipoifium" = /obj/machinery/portable_atmospherics/canister/lipoifium
|
// GS13 - edit
|
||||||
|
"lipoifium" = /obj/machinery/portable_atmospherics/canister/lipoifium // :D
|
||||||
|
//GS13 - end edit
|
||||||
)
|
)
|
||||||
|
|
||||||
/obj/machinery/portable_atmospherics/canister/interact(mob/user)
|
/obj/machinery/portable_atmospherics/canister/interact(mob/user)
|
||||||
@@ -168,12 +170,6 @@
|
|||||||
icon_state = "purplecyan"
|
icon_state = "purplecyan"
|
||||||
gas_type = GAS_METHYL_BROMIDE
|
gas_type = GAS_METHYL_BROMIDE
|
||||||
|
|
||||||
/obj/machinery/portable_atmospherics/canister/lipoifium
|
|
||||||
name = "lipoifium canister"
|
|
||||||
desc = "Lipoifium. Inhaling causes quick buildup of adipose in one's body."
|
|
||||||
icon_state = "yellowblack"
|
|
||||||
gas_type = GAS_FAT
|
|
||||||
|
|
||||||
/obj/machinery/portable_atmospherics/canister/proc/get_time_left()
|
/obj/machinery/portable_atmospherics/canister/proc/get_time_left()
|
||||||
if(timing)
|
if(timing)
|
||||||
. = round(max(0, valve_timer - world.time) / 10, 1)
|
. = round(max(0, valve_timer - world.time) / 10, 1)
|
||||||
@@ -403,6 +399,9 @@
|
|||||||
investigate_log("was relabelled to [initial(replacement.name)] by [key_name(usr)].", INVESTIGATE_ATMOS)
|
investigate_log("was relabelled to [initial(replacement.name)] by [key_name(usr)].", INVESTIGATE_ATMOS)
|
||||||
name = initial(replacement.name)
|
name = initial(replacement.name)
|
||||||
desc = initial(replacement.desc)
|
desc = initial(replacement.desc)
|
||||||
|
// GS13 - edit
|
||||||
|
icon = initial(replacement.icon) // GS13 - added for the canister to change the icon file
|
||||||
|
// GS13 - end edit
|
||||||
icon_state = initial(replacement.icon_state)
|
icon_state = initial(replacement.icon_state)
|
||||||
if("restricted")
|
if("restricted")
|
||||||
restricted = !restricted
|
restricted = !restricted
|
||||||
|
|||||||
Reference in New Issue
Block a user