mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
[Ready] Machinery shows part upgrade stats (#40920)
cl Denton tweak: Most upgradeable machines now show their upgrade status when examined while standing right next to them. tweak: Added examine messages to teleporter stations that hint at their multitool/wirecutter interactions. tweak: Renamed teleporter stations from station to teleporter station. code: Changed the teleporter hub accurate var to accuracy; the old name misled people into thinking that it was a boolean. /cl Machines don't really give players feedback about upgrades, aside from machines like the cloner where new functions are unlocked. I'm adding examine descriptions that should help with this:
This commit is contained in:
@@ -48,6 +48,11 @@
|
||||
point_upgrade = point_upgrade_temp
|
||||
sheet_per_ore = sheet_per_ore_temp
|
||||
|
||||
/obj/machinery/mineral/ore_redemption/examine(mob/user)
|
||||
..()
|
||||
if(in_range(user, src) || isobserver(user))
|
||||
to_chat(user, "<span class='notice'>The status display reads: Smelting <b>[sheet_per_ore]</b> sheet(s) per piece of ore.<br>Reward point generation at <b>[point_upgrade*100]%</b>.<br>Ore pickup speed at <b>[ore_pickup_rate]</b>.<span>")
|
||||
|
||||
/obj/machinery/mineral/ore_redemption/proc/smelt_ore(obj/item/stack/ore/O)
|
||||
var/datum/component/material_container/mat_container = materials.mat_container
|
||||
if (!mat_container)
|
||||
|
||||
Reference in New Issue
Block a user