Skip to content

Instantly share code, notes, and snippets.

@cacogen
Last active November 10, 2021 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cacogen/f50833105f0c9ff9a71ac75be25088d8 to your computer and use it in GitHub Desktop.
Save cacogen/f50833105f0c9ff9a71ac75be25088d8 to your computer and use it in GitHub Desktop.
/tg/station cargo export values 11/11/2021
code\__DEFINES\cargo.dm
/// The baseline unit for cargo crates. Adjusting this will change the cost of all in-game shuttles, crate export values, bounty rewards, and all supply pack import values, as they use this as their unit of measurement.
#define CARGO_CRATE_VALUE 200
code\modules\cargo\exports\antiques.dm
/datum/export/antique
cost = CARGO_CRATE_VALUE*10
code\modules\cargo\exports\civilain_bounty.dm:
/datum/export/bounty_box
cost = 1
/datum/export/bounty_box/get_cost(obj/item/bounty_cube/cube, apply_elastic)
return cube.bounty_value + (cube.bounty_value * cube.speed_bonus)
code\modules\cargo\exports\gear.dm:
/datum/export/gear/sec_helmet
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/gear/sec_armor
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/gear/riot_shield
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/gear/mask/breath
cost = CARGO_CRATE_VALUE * 0.01
/datum/export/gear/mask/gas
cost = CARGO_CRATE_VALUE * 0.05
/datum/export/gear/space/helmet
cost = CARGO_CRATE_VALUE * 0.15
/datum/export/gear/space/suit
cost = CARGO_CRATE_VALUE * 0.3
/datum/export/gear/space/syndiehelmet
cost = CARGO_CRATE_VALUE * 0.3
/datum/export/gear/space/syndiesuit
cost = CARGO_CRATE_VALUE * 0.6
/datum/export/gear/radhelmet
cost = CARGO_CRATE_VALUE * 0.1
/datum/export/gear/radsuit
cost = CARGO_CRATE_VALUE * 0.2
/datum/export/gear/biohood
cost = CARGO_CRATE_VALUE * 0.1
/datum/export/gear/biosuit
cost = CARGO_CRATE_VALUE * 0.2
/datum/export/gear/bombhelmet
cost = CARGO_CRATE_VALUE * 0.1
/datum/export/gear/bombsuit
cost = CARGO_CRATE_VALUE * 0.2
/datum/export/gear/lizardboots
cost = CARGO_CRATE_VALUE * 0.7
/datum/export/gear/lizardmasterwork
cost = CARGO_CRATE_VALUE * 2
/datum/export/gear/bilton
cost = CARGO_CRATE_VALUE * 5
/datum/export/gear/ebonydie
cost = CARGO_CRATE_VALUE
code\modules\cargo\exports\large_objects.dm:
/datum/export/large/crate
cost = CARGO_CRATE_VALUE
/datum/export/large/crate/wooden
cost = CARGO_CRATE_VALUE/5
/datum/export/large/crate/wood
cost = CARGO_CRATE_VALUE * 0.48
/datum/export/large/crate/coffin
cost = CARGO_CRATE_VALUE/2 //50 wooden crates cost 2000 points, and you can make 10 coffins in seconds with those planks. Each coffin selling for 250 means you can make a net gain of 500 points for wasting your time making coffins.
/datum/export/large/reagent_dispenser
cost = CARGO_CRATE_VALUE * 0.5 // +0-400 depending on amount of reagents left
var/contents_cost = CARGO_CRATE_VALUE * 0.8
/datum/export/large/reagent_dispenser/get_cost(obj/O)
var/obj/structure/reagent_dispensers/D = O
var/ratio = D.reagents.total_volume / D.reagents.maximum_volume
return ..() + round(contents_cost * ratio)
/datum/export/large/reagent_dispenser/water
contents_cost = CARGO_CRATE_VALUE * 0.4
/datum/export/large/reagent_dispenser/beer
contents_cost = CARGO_CRATE_VALUE * 3.5
/datum/export/large/pipedispenser
cost = CARGO_CRATE_VALUE * 2.5
/datum/export/large/emitter
cost = CARGO_CRATE_VALUE * 2.75
/datum/export/large/field_generator
cost = CARGO_CRATE_VALUE * 2.75
/datum/export/large/tesla_coil
cost = CARGO_CRATE_VALUE * 2.25
/datum/export/large/supermatter
cost = CARGO_CRATE_VALUE * 16
/datum/export/large/grounding_rod
cost = CARGO_CRATE_VALUE * 1.2
/datum/export/large/iv
cost = CARGO_CRATE_VALUE * 0.25
/datum/export/large/barrier
cost = CARGO_CRATE_VALUE * 0.25
/datum/export/large/gas_canister
cost = CARGO_CRATE_VALUE * 0.05 //Base cost of canister. You get more for nice gases inside.
/datum/export/large/gas_canister/get_cost(obj/O)
var/obj/machinery/portable_atmospherics/canister/C = O
var/worth = cost
var/datum/gas_mixture/canister_mix = C.return_air()
var/canister_gas = canister_mix.gases
var/list/gases_to_check = list(
/datum/gas/bz,
/datum/gas/stimulum,
/datum/gas/hypernoblium,
/datum/gas/miasma,
/datum/gas/tritium,
/datum/gas/pluoxium,
/datum/gas/freon,
/datum/gas/hydrogen,
/datum/gas/healium,
/datum/gas/proto_nitrate,
/datum/gas/zauker,
/datum/gas/helium,
/datum/gas/antinoblium,
/datum/gas/halon,
)
for(var/gasID in gases_to_check)
canister_mix.assert_gas(gasID)
if(canister_gas[gasID][MOLES] > 0)
worth += get_gas_value(gasID, canister_gas[gasID][MOLES])
canister_mix.garbage_collect()
return worth
/datum/export/large/gas_canister/proc/get_gas_value(datum/gas/gasType, moles)
var/baseValue = initial(gasType.base_value)
return round((baseValue/k_elasticity) * (1 - NUM_E**(-1 * k_elasticity * moles)))
code\modules\cargo\exports\lavaland.dm:
/datum/export/lavaland/minor
cost = CARGO_CRATE_VALUE * 20
/datum/export/lavaland/major //valuable chest/ruin loot, minor megafauna loot
cost = CARGO_CRATE_VALUE * 40
/datum/export/lavaland/megafauna
cost = CARGO_CRATE_VALUE * 80
code\modules\cargo\exports\manifest.dm:
/datum/export/manifest_correct
cost = CARGO_CRATE_VALUE * 0.4
/datum/export/manifest_error_denied
cost = -CARGO_CRATE_VALUE
/datum/export/manifest_error/get_cost(obj/O)
var/obj/item/paper/fluff/jobs/cargo/manifest/M = O
return -M.order_cost
/datum/export/manifest_error_denied/get_cost(obj/O)
var/obj/item/paper/fluff/jobs/cargo/manifest/M = O
return ..() + M.order_cost
/datum/export/manifest_correct_denied
cost = -CARGO_CRATE_VALUE
/datum/export/manifest_correct_denied/get_cost(obj/O)
var/obj/item/paper/fluff/jobs/cargo/manifest/M = O
return ..() - M.order_cost
code\modules\cargo\exports\materials.dm:
/datum/export/material
cost = 5 // Cost per MINERAL_MATERIAL_AMOUNT, which is 2000cm3 as of April 2016.
/datum/export/material/bananium
cost = CARGO_CRATE_VALUE * 2
/datum/export/material/diamond
cost = CARGO_CRATE_VALUE
/datum/export/material/plasma
cost = CARGO_CRATE_VALUE * 0.4
/datum/export/material/uranium
cost = CARGO_CRATE_VALUE * 0.2
/datum/export/material/gold
cost = CARGO_CRATE_VALUE * 0.25
/datum/export/material/silver
cost = CARGO_CRATE_VALUE * 0.1
/datum/export/material/titanium
cost = CARGO_CRATE_VALUE * 0.25
/datum/export/material/adamantine
cost = CARGO_CRATE_VALUE
/datum/export/material/mythril
cost = CARGO_CRATE_VALUE * 3
/datum/export/material/bscrystal
cost = CARGO_CRATE_VALUE * 0.6
/datum/export/material/plastic
cost = CARGO_CRATE_VALUE * 0.05
/datum/export/material/runite
cost = CARGO_CRATE_VALUE * 1.2
/datum/export/material/iron
cost = CARGO_CRATE_VALUE * 0.01
/datum/export/material/glass
cost = CARGO_CRATE_VALUE * 0.01
/datum/export/material/hot_ice
cost = CARGO_CRATE_VALUE * 0.8
/datum/export/material/metal_hydrogen
cost = CARGO_CRATE_VALUE * 1.05
code\modules\cargo\exports\organs.dm:
/datum/export/organ/heart
cost = CARGO_CRATE_VALUE * 0.2 //For the man who has everything and nothing.
/datum/export/organ/eyes
cost = CARGO_CRATE_VALUE * 0.1
/datum/export/organ/ears
cost = CARGO_CRATE_VALUE * 0.1
/datum/export/organ/liver
cost = CARGO_CRATE_VALUE * 0.1
/datum/export/organ/lungs
cost = CARGO_CRATE_VALUE * 0.1
/datum/export/organ/stomach
cost = CARGO_CRATE_VALUE * 0.1
/datum/export/organ/tongue
cost = CARGO_CRATE_VALUE * 0.1
/datum/export/organ/tail/lizard
cost = CARGO_CRATE_VALUE * 1.25
/datum/export/organ/tail/cat
cost = CARGO_CRATE_VALUE * 1.5
/datum/export/organ/ears/cat
cost = CARGO_CRATE_VALUE
code\modules\cargo\exports\parts.dm:
/datum/export/solar/assembly
cost = CARGO_CRATE_VALUE * 0.25
/datum/export/solar/tracker_board
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/solar/control_board
cost = CARGO_CRATE_VALUE * 0.75
/datum/export/modular_part
cost = CARGO_CRATE_VALUE * 0.075
/datum/export/modular_part/processor
cost = CARGO_CRATE_VALUE * 0.2
/datum/export/modular_part/processor/photoic
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/modular_part/battery
cost = CARGO_CRATE_VALUE * 0.2
/datum/export/modular_part/battery/upgraded
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/modular_part/battery/advanced
cost = CARGO_CRATE_VALUE * 0.75
/datum/export/modular_part/harddrive
cost = CARGO_CRATE_VALUE * 0.05
/datum/export/modular_part/harddrive/small
cost = CARGO_CRATE_VALUE * 0.25
/datum/export/modular_part/harddrive/normal
cost = CARGO_CRATE_VALUE * 0.4
/datum/export/modular_part/networkcard
cost = CARGO_CRATE_VALUE * 0.25
/datum/export/modular_part/idcard
cost = CARGO_CRATE_VALUE * 0.1
/datum/export/modular_part/intellicard
cost = CARGO_CRATE_VALUE * 0.2
code\modules\cargo\exports\seeds.dm:
/datum/export/seed
cost = CARGO_CRATE_VALUE * 0.25 // Gets multiplied by potency
/datum/export/seed/get_cost(obj/O)
var/obj/item/seeds/S = O
if(!needs_discovery && (S.type in discoveredPlants))
return 0
if(needs_discovery && !(S.type in discoveredPlants))
return 0
return ..() * S.rarity // That's right, no bonus for potency. Send a crappy sample first to "show improvement" later.
/datum/export/seed/potency
cost = CARGO_CRATE_VALUE * 0.0125 // Gets multiplied by potency and rarity.
/datum/export/seed/potency/get_cost(obj/O)
var/obj/item/seeds/S = O
var/cost = ..()
if(!cost)
return 0
code\modules\cargo\exports\sheets.dm:
/datum/export/stack/skin/monkey
cost = CARGO_CRATE_VALUE * 0.25
/datum/export/stack/skin/human
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/stack/skin/goliath_hide
cost = CARGO_CRATE_VALUE
/datum/export/stack/skin/cat
cost = CARGO_CRATE_VALUE * 0.75
/datum/export/stack/skin/corgi
cost = CARGO_CRATE_VALUE
/datum/export/stack/skin/lizard
cost = CARGO_CRATE_VALUE * 0.75
/datum/export/stack/skin/gondola
cost = CARGO_CRATE_VALUE * 10
/datum/export/stack/skin/xeno
cost = CARGO_CRATE_VALUE * 2.5
/datum/export/stack/skin/carp
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/stack/licenseplate
cost = CARGO_CRATE_VALUE * 0.125
/datum/export/stack/plasteel
cost = CARGO_CRATE_VALUE * 0.41 // 2000u of plasma + 2000u of iron.
/datum/export/stack/rglass
cost = CARGO_CRATE_VALUE * 0.02
/datum/export/stack/plastitanium
cost = CARGO_CRATE_VALUE * 0.65 // plasma + titanium costs
/datum/export/stack/wood
cost = CARGO_CRATE_VALUE * 0.05
/datum/export/stack/cloth
cost = CARGO_CRATE_VALUE * 0.025
/datum/export/stack/durathread
cost = CARGO_CRATE_VALUE * 0.35
/datum/export/stack/cardboard
cost = CARGO_CRATE_VALUE * 0.01
/datum/export/stack/sandstone
cost = CARGO_CRATE_VALUE * 0.005
/datum/export/stack/cable
cost = CARGO_CRATE_VALUE * 0.001
/datum/export/stack/ammonia_crystals
cost = CARGO_CRATE_VALUE * 0.125
/datum/export/stack/pizza
cost = CARGO_CRATE_VALUE * 0.06
/datum/export/stack/meat
cost = CARGO_CRATE_VALUE * 0.04
/datum/export/stack/abductor
cost = CARGO_CRATE_VALUE * 2
code\modules\cargo\exports\tools.dm:
/datum/export/toolbox
cost = CARGO_CRATE_VALUE * 0.02
/datum/export/screwdriver
cost = CARGO_CRATE_VALUE * 0.01
/datum/export/wrench
cost = CARGO_CRATE_VALUE * 0.01
/datum/export/crowbar
cost = CARGO_CRATE_VALUE * 0.01
/datum/export/wirecutters
cost = CARGO_CRATE_VALUE * 0.01
/datum/export/weldingtool
cost = CARGO_CRATE_VALUE * 0.025
/datum/export/weldingtool/emergency
cost = CARGO_CRATE_VALUE * 0.01
/datum/export/weldingtool/industrial
cost = CARGO_CRATE_VALUE * 0.05
/datum/export/extinguisher
cost = CARGO_CRATE_VALUE * 0.075
/datum/export/extinguisher/mini
cost = CARGO_CRATE_VALUE * 0.01
/datum/export/flashlight
cost = CARGO_CRATE_VALUE * 0.025
/datum/export/flashlight/flare
cost = CARGO_CRATE_VALUE * 0.01
/datum/export/flashlight/seclite
cost = CARGO_CRATE_VALUE * 0.05
/datum/export/analyzer
cost = CARGO_CRATE_VALUE * 0.025
/datum/export/analyzer/t_scanner
cost = CARGO_CRATE_VALUE * 0.025
/datum/export/radio
cost = CARGO_CRATE_VALUE * 0.025
/datum/export/weldingtool/experimental
cost = CARGO_CRATE_VALUE * 0.45
/datum/export/jawsoflife
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/handdrill
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/rld_mini
cost = CARGO_CRATE_VALUE * 0.75
/datum/export/rsf
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/rcd
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/rcd_ammo
cost = CARGO_CRATE_VALUE * 0.3
/datum/export/rpd
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/soap
cost = CARGO_CRATE_VALUE * 0.375
/datum/export/soap/homemade
cost = CARGO_CRATE_VALUE * 0.15
/datum/export/soap/omega
cost = CARGO_CRATE_VALUE * 14
/datum/export/candle
cost = CARGO_CRATE_VALUE * 0.125
code\modules\cargo\exports\weapons.dm:
/datum/export/weapon/baton
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/weapon/knife
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/weapon/taser
cost = CARGO_CRATE_VALUE
/datum/export/weapon/laser
cost = CARGO_CRATE_VALUE
/datum/export/weapon/disabler
cost = CARGO_CRATE_VALUE * 0.5
/datum/export/weapon/energy_gun
cost = CARGO_CRATE_VALUE * 1.5
/datum/export/weapon/wt550
cost = CARGO_CRATE_VALUE * 1.5
/datum/export/weapon/shotgun
cost = CARGO_CRATE_VALUE * 1.5
/datum/export/weapon/flashbang
cost = CARGO_CRATE_VALUE * 0.025
/datum/export/weapon/teargas
cost = CARGO_CRATE_VALUE * 0.025
/datum/export/weapon/flash
cost = CARGO_CRATE_VALUE * 0.025
/datum/export/weapon/handcuffs
cost = CARGO_CRATE_VALUE * 0.015
code\modules\cargo\exports\xenobio.dm:
/datum/export/slime/grey
cost = CARGO_CRATE_VALUE * 0.05
/datum/export/slime/common
cost = CARGO_CRATE_VALUE * 0.12
/datum/export/slime/uncommon
cost = CARGO_CRATE_VALUE * 0.2
/datum/export/slime/rare
cost = CARGO_CRATE_VALUE * 0.28
/datum/export/slime/charged
cost = CARGO_CRATE_VALUE
/datum/export/slime/hypercharged
cost = CARGO_CRATE_VALUE * 1.2
/datum/export/slime/epic //EPIIIIIIC
cost = CARGO_CRATE_VALUE * 0.44
/datum/export/slime/rainbow
cost = CARGO_CRATE_VALUE
code\modules\events\pirates.dm:
/datum/export/pirate/ransom
cost = 3000
/datum/export/pirate/parrot
cost = 2000
/datum/export/pirate/cash
cost = 1
/datum/export/pirate/holochip
cost = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment