mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 23:52:12 +00:00
Removes mining access requirement from ore redemption consoles (#17714)
* Removes mining access requirement from ore redemption consoles The claim points and print yield declarations required mining access to use despite the actual functionality of the console requiring no access. I've removed this access requirement so off-ships with these machines can actually use them. * Update code/modules/mining/machine_processing.dm Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> * Update code/modules/mining/machine_processing.dm Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> --------- Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
This commit is contained in:
@@ -123,21 +123,15 @@
|
|||||||
var/obj/item/card/id/ID = usr.GetIdCard()
|
var/obj/item/card/id/ID = usr.GetIdCard()
|
||||||
if(ID)
|
if(ID)
|
||||||
if(params["choice"] == "claim")
|
if(params["choice"] == "claim")
|
||||||
if(access_mining_station in ID.access)
|
if(points >= 0)
|
||||||
if(points >= 0)
|
ID.mining_points += points
|
||||||
ID.mining_points += points
|
if(points != 0)
|
||||||
if(points != 0)
|
ping("<b>\The [src]</b> pings, \"Point transfer complete! Transaction total: [points] points!\"")
|
||||||
ping("\The [src] pings, \"Point transfer complete! Transaction total: [points] points!\"")
|
points = 0
|
||||||
points = 0
|
|
||||||
else
|
|
||||||
to_chat(usr, SPAN_WARNING("[station_name()]'s mining division is currently indebted to NanoTrasen. Transaction incomplete until debt is cleared."))
|
|
||||||
else
|
else
|
||||||
to_chat(usr, SPAN_WARNING("Required access not found."))
|
ping("<b>\The [src]</b> pings, \"Transaction failed due to a negative point value. No transaction can be done until this value has returned to a positive one.\"")
|
||||||
if(params["choice"] == "print_report")
|
if(params["choice"] == "print_report")
|
||||||
if(access_mining_station in ID.access)
|
print_report(usr)
|
||||||
print_report(usr)
|
|
||||||
else
|
|
||||||
to_chat(usr, SPAN_WARNING("Required access not found."))
|
|
||||||
return TRUE
|
return TRUE
|
||||||
|
|
||||||
if(action == "toggle_smelting")
|
if(action == "toggle_smelting")
|
||||||
|
|||||||
41
html/changelogs/Nalarac-oreredemptionaccess.yml
Normal file
41
html/changelogs/Nalarac-oreredemptionaccess.yml
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
################################
|
||||||
|
# Example Changelog File
|
||||||
|
#
|
||||||
|
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
|
||||||
|
#
|
||||||
|
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
|
||||||
|
# When it is, any changes listed below will disappear.
|
||||||
|
#
|
||||||
|
# Valid Prefixes:
|
||||||
|
# bugfix
|
||||||
|
# wip (For works in progress)
|
||||||
|
# tweak
|
||||||
|
# soundadd
|
||||||
|
# sounddel
|
||||||
|
# rscadd (general adding of nice things)
|
||||||
|
# rscdel (general deleting of nice things)
|
||||||
|
# imageadd
|
||||||
|
# imagedel
|
||||||
|
# maptweak
|
||||||
|
# spellcheck (typo fixes)
|
||||||
|
# experiment
|
||||||
|
# balance
|
||||||
|
# admin
|
||||||
|
# backend
|
||||||
|
# security
|
||||||
|
# refactor
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Your name.
|
||||||
|
author: Nalarac
|
||||||
|
|
||||||
|
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
|
||||||
|
delete-after: True
|
||||||
|
|
||||||
|
# Any changes you've made. See valid prefix list above.
|
||||||
|
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
|
||||||
|
# SCREW THIS UP AND IT WON'T WORK.
|
||||||
|
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
|
||||||
|
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
|
||||||
|
changes:
|
||||||
|
- tweak: "Removed mining access requirement to claim points and print yield declarations from ore redemption console."
|
||||||
Reference in New Issue
Block a user