Files
Bubberstation/code/game/objects/effects/spawners/random/techstorage.dm
MrMelbert 67d27ffe91 Accounting Glowup: Advances, Pay raises and cuts, and more (#92419)
## About The Pull Request

Fixes #92188

1. The Accounting console now has a new UI

<img width="757" height="486" alt="image"
src="https://github.com/user-attachments/assets/0c6ce73f-ae1c-4a54-b6ba-bcc3b3232d13"
/>

2. The Accounting console can now dish out advances on paychecks, giving
you for full paycheck early. You can give up to 3 advances. This of
course means your next paycheck is not paid out when relevant.

3. The Accounting console can now change paycheck sizes of crewmembers -
up to 1.5x and down to 0.5x.

## Why It's Good For The Game

- Gives the HoP some more duties, now being able to dish out money on
request, reward good behavior, or punish bad behavior.

## Changelog

🆑 Melbert
add: Accounting Console: New UI!
add: Accounting Console: Now can give advances to crewmembers
add: Accounting Console: Can now give pay raises or pay cuts
add: Accounting Console: Now only printable in the security lathe
add: Accounting Console: A spare board is now now found in secure tech
storage.
fix: Fix vending machines adding payments to audit log twice.
fix: Non-crewmembers are no longer shown in the accounting console
/🆑

---------

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2025-09-02 18:57:20 -07:00

142 lines
4.8 KiB
Plaintext

// Tech storage circuit board spawners
/obj/effect/spawner/random/techstorage
name = "generic circuit board spawner"
icon_state = "circuit"
spawn_loot_split = TRUE
spawn_all_loot = TRUE
/obj/effect/spawner/random/techstorage/data_disk
name = "data disk spawner"
icon_state = "disk"
spawn_all_loot = FALSE
loot = list(
/obj/item/disk/data = 49,
/obj/item/disk/nuclear/fake/obvious = 1,
)
/obj/effect/spawner/random/techstorage/arcade_boards
name = "arcade board spawner"
spawn_all_loot = FALSE
spawn_loot_count = 1
loot = list(
/obj/item/circuitboard/computer/arcade/amputation,
/obj/item/circuitboard/computer/arcade/battle,
/obj/item/circuitboard/computer/arcade/orion_trail,
)
/obj/effect/spawner/random/techstorage/custom_shuttle
name = "custom shuttle circuit board spawner"
loot = list(
/obj/item/circuitboard/computer/shuttle/docker,
/obj/item/circuitboard/computer/shuttle/flight_control,
/obj/item/circuitboard/machine/engine/propulsion,
/obj/item/circuitboard/machine/engine/propulsion,
/obj/item/circuitboard/machine/engine/propulsion,
/obj/item/circuitboard/machine/engine/propulsion,
/obj/item/shuttle_blueprints,
/obj/item/stack/rods/shuttle/fifty,
)
/obj/effect/spawner/random/techstorage/service_all
name = "service circuit board spawner"
loot = list(
/obj/item/circuitboard/computer/arcade/battle,
/obj/item/circuitboard/computer/arcade/orion_trail,
/obj/item/circuitboard/machine/autolathe,
/obj/item/circuitboard/computer/mining,
/obj/item/circuitboard/machine/ore_redemption,
/obj/item/circuitboard/computer/order_console/mining,
/obj/item/circuitboard/machine/microwave,
/obj/item/circuitboard/machine/microwave/engineering,
/obj/item/circuitboard/machine/deep_fryer,
/obj/item/circuitboard/machine/griddle,
/obj/item/circuitboard/machine/reagentgrinder,
/obj/item/circuitboard/machine/oven,
/obj/item/circuitboard/machine/stove,
/obj/item/circuitboard/machine/processor,
/obj/item/circuitboard/machine/gibber,
/obj/item/circuitboard/machine/chem_dispenser/drinks,
/obj/item/circuitboard/machine/chem_dispenser/drinks/beer,
/obj/item/circuitboard/computer/slot_machine,
)
/obj/effect/spawner/random/techstorage/rnd_all
name = "RnD circuit board spawner"
loot = list(
/obj/item/circuitboard/computer/aifixer,
/obj/item/circuitboard/machine/rdserver,
/obj/item/circuitboard/machine/mechfab,
/obj/item/circuitboard/machine/circuit_imprinter/department,
/obj/item/circuitboard/computer/teleporter,
/obj/item/circuitboard/machine/destructive_analyzer,
/obj/item/circuitboard/computer/rdconsole,
/obj/item/circuitboard/computer/scan_consolenew,
/obj/item/circuitboard/machine/dnascanner,
/obj/item/circuitboard/machine/dna_infuser,
)
/obj/effect/spawner/random/techstorage/security_all
name = "security circuit board spawner"
loot = list(
/obj/item/circuitboard/computer/secure_data,
/obj/item/circuitboard/computer/security,
/obj/item/circuitboard/computer/prisoner,
)
/obj/effect/spawner/random/techstorage/engineering_all
name = "engineering circuit board spawner"
loot = list(
/obj/item/circuitboard/computer/atmos_alert,
/obj/item/circuitboard/computer/station_alert,
/obj/item/circuitboard/computer/powermonitor,
)
/obj/effect/spawner/random/techstorage/tcomms_all
name = "tcomms circuit board spawner"
loot = list(
/obj/item/circuitboard/computer/message_monitor,
/obj/item/circuitboard/machine/telecomms/broadcaster,
/obj/item/circuitboard/machine/telecomms/bus,
/obj/item/circuitboard/machine/telecomms/server,
/obj/item/circuitboard/machine/telecomms/receiver,
/obj/item/circuitboard/machine/telecomms/processor,
/obj/item/circuitboard/machine/announcement_system,
/obj/item/circuitboard/computer/comm_server,
/obj/item/circuitboard/computer/comm_monitor,
)
/obj/effect/spawner/random/techstorage/medical_all
name = "medical circuit board spawner"
loot = list(
/obj/item/circuitboard/machine/chem_dispenser,
/obj/item/circuitboard/computer/med_data,
/obj/item/circuitboard/machine/smoke_machine,
/obj/item/circuitboard/machine/chem_master,
/obj/item/circuitboard/computer/pandemic,
)
/obj/effect/spawner/random/techstorage/ai_all
name = "secure AI circuit board spawner"
loot = list(
/obj/item/circuitboard/computer/aiupload,
/obj/item/circuitboard/computer/borgupload,
/obj/item/circuitboard/aicore,
)
/obj/effect/spawner/random/techstorage/command_all
name = "secure command circuit board spawner"
loot = list(
/obj/item/circuitboard/computer/accounting,
/obj/item/circuitboard/computer/bankmachine,
/obj/item/circuitboard/computer/communications,
/obj/item/circuitboard/computer/crew,
)
/obj/effect/spawner/random/techstorage/rnd_secure_all
name = "secure RnD circuit board spawner"
loot = list(
/obj/item/circuitboard/computer/mecha_control,
/obj/item/circuitboard/computer/apc_control,
/obj/item/circuitboard/computer/robotics,
)