Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resprites: Cow , Bear, Fish, Generator & Power Bank #8380

Merged
merged 3 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions code/modules/power/port_gen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
/obj/machinery/power/port_gen/pacman
name = "\improper P.A.C.M.A.N.-type Portable Generator"
desc = "A power generator that runs on solid plasma sheets. Rated for 80 kW max safe output."
icon_state = "portgen_p0"

var/sheet_name = "Plasma Sheets"
var/sheet_path = /obj/item/stack/material/plasma
Expand Down Expand Up @@ -415,9 +416,9 @@

/obj/machinery/power/port_gen/pacman/update_icon()
if(active)
icon_state = "portgen1"
icon_state = "portgen_p1"
else
icon_state = "portgen0"
icon_state = "portgen_p0"

/obj/machinery/power/port_gen/pacman/Topic(href, href_list)
if(..())
Expand Down Expand Up @@ -451,6 +452,12 @@
time_per_fuel_unit = 576 //same power output, but a 50 sheet stack will last 2 hours at max safe power
circuit = /obj/item/electronics/circuitboard/pacman/super

/obj/machinery/power/port_gen/pacman/super/update_icon()
if(active)
icon_state = "portgen_u1"
else
icon_state = "portgen_u0"

/obj/machinery/power/port_gen/pacman/super/UseFuel()
//produces a tiny amount of radiation when in use
if (prob(2*power_output))
Expand Down
Binary file modified icons/inventory/head/mob.dmi
Binary file not shown.
Binary file modified icons/mob/animal.dmi
Binary file not shown.
Binary file modified icons/mob/items/lefthand_holder.dmi
Binary file not shown.
Binary file modified icons/mob/items/righthand_holder.dmi
Binary file not shown.
Binary file modified icons/obj/power.dmi
Binary file not shown.
Loading