Balancing - Mining materials exports (#19470)

Added the ability to sell off your mining materials for profit. All
prices are relatively low, so it shouldn't mess up the balance of things
too much.
Consequentially, engineering can now sell its gold, silver, and platinum
to operations.
Also, I removed market elasticity from this materials list. Just to make
things far more consistent, and remove any potential and needless
frustration.
Thank you to @BoomerThor for helping me through this!
This commit is contained in:
courierbravo
2024-07-17 14:11:36 -07:00
committed by GitHub
parent bfa86f757a
commit ba4d62a5a8
3 changed files with 120 additions and 15 deletions
+61 -9
View File
@@ -1,5 +1,6 @@
/datum/export/material
cost = 5 // Cost per MINERAL_MATERIAL_AMOUNT, which is 2000cm3 as of April 2016.
k_elasticity = 0
message = "cm3 of developer's tears. Please, report this on github"
var/material_id = null
export_types = list(/obj/item/stack/material/)
@@ -15,46 +16,97 @@
return M.amount
// Materials. Nothing but Phoron is really worth selling. Better leave it all to RnD.
// Materials. As of writing in 2024, this list was small, and most everything was effected by price elasticity. Now, it's been rebalanced. Price elasticity was removed,
// and more materials now have values. These materials are mainly concerend with mining.
/datum/export/material/diamond
cost = 100
cost = 20
material_id = "diamond"
message = "diamond sheets"
/datum/export/material/phoron
cost = 175
k_elasticity = 0
material_id = "phoron"
message = "phoron sheets"
/datum/export/material/uranium
cost = 10
cost = 8
material_id = "uranium"
message = "uranium sheets"
/datum/export/material/gold
cost = 25
cost = 12
material_id = "gold"
message = "gold sheets"
/datum/export/material/silver
cost = 10
cost = 8
material_id = "silver"
message = "silver sheets"
/datum/export/material/platinum
cost = 20
cost = 12
material_id = "platinum"
message = "platinum sheets"
/datum/export/material/osmium
cost = 24
material_id = "osmium"
message = "osmium bars"
/datum/export/material/metal
cost = 5
cost = 2
material_id = "metal"
message = "metal sheets"
/datum/export/material/steel
cost = 1
material_id = "steel"
message = "steel sheets"
/datum/export/material/plasteel
cost = 20
material_id = "plasteel"
message = "plasteel sheets"
/datum/export/material/iron
cost = 1
material_id = "iron"
message = "iron ingots"
/datum/export/material/plastic
cost = 1
material_id = "plastic"
message = "plastic sheets"
/datum/export/material/graphite
cost = 2
material_id = "graphite"
message = "graphite bars"
/datum/export/material/glass
cost = 5
cost = 1
material_id = "glass"
message = "glass sheets"
/datum/export/material/tritium
cost = 5
material_id = "tritium"
message = "tritium ingots"
/datum/export/material/mhydrogen
cost = 10
material_id = "mhydrogen"
message = "metallic hydrogen sheets"
/datum/export/material/aluminium
cost = 3
material_id = "aluminium"
message = "aluminium sheets"
/datum/export/material/lead
cost = 3
material_id = "lead"
message = "lead sheets"
-6
View File
@@ -40,12 +40,6 @@
// Common materials.
// For base materials, see materials.dm
/datum/export/stack/plasteel
cost = 155 // 2000u of plasma + 2000u of metal.
message = "of plasteel"
export_types = list(/obj/item/stack/material/plasteel)
// 1 glass + 0.5 metal, cost is rounded up.
/datum/export/stack/rglass
cost = 8
@@ -0,0 +1,59 @@
################################
# 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
# - (fixes bugs)
# wip
# - (work in progress)
# qol
# - (quality of life)
# soundadd
# - (adds a sound)
# sounddel
# - (removes a sound)
# rscadd
# - (adds a feature)
# rscdel
# - (removes a feature)
# imageadd
# - (adds an image or sprite)
# imagedel
# - (removes an image or sprite)
# spellcheck
# - (fixes spelling or grammar)
# experiment
# - (experimental change)
# balance
# - (balance changes)
# code_imp
# - (misc internal code change)
# refactor
# - (refactors code)
# config
# - (makes a change to the config files)
# admin
# - (makes changes to administrator tools)
# server
# - (miscellaneous changes to server)
#################################
# Your name.
author: CourierBravo and BoomerThor
# 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, this gets changed to [] after reading. Just remove the brackets when you add new shit.
# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog.
changes:
- balance: "Removed market elasticity from materials harvested from mining"
- balance: "Added all of the materials dug up from mining, old and new, to the exports material list. Ensured you can't dupe credits by ordering glass and steel and just sending it back."