mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-20 21:57:44 +01:00
f67d095338
* starting port
* missed one
* fixes and wip
* more cleanup
* reagent data setup
* distillation testing
* tanker dmi again
* supply pack fix
* Tiny fix
* better formatting
* metallic paints and outpost reagents
* working on refinery tutorial, reactor construction icons
* reactor activation dot
* updated for new reagent hoses
* This as well
* pump relay object
* climbing support
* less ugly trolly tanker handling
* more cleanup
* reagent pumping updated
* climbable tanker
* fixed test
* test fails
* smart centrifuge board
* pump relay art updated
* hose doesn't show message when stacking
* gas cracks and fracking
* randomly spawned gas gracks
* indentation
* fixed
* runtime fix, lore fix
* turf change respecting atmos
* args
* nevermind
* gas cracks to poi fodder
* less gamer
* compile fix
* oops
* Old ores enabled
* paint distillations
* unittest
* many more distillation reactions
* nullcheck
* guide book
* tweaks to globs
* moved designs
* techweb
* reagent tanker sale element
* proper tag
* sellable
* typo, reduced hose connectors
* show reagent
* synthfab fix
* Revert "synthfab fix"
This reverts commit b7764cfb33.
* post sale tank handling
* tweak
* oops
* another oops
* smasher recipe now valid
* condensing gas recipies
* those too
* condensing tweaks
* matching mols better
* fluid pump missing
* code review
* no rain code here
* smart centrifuge update
* small grinder patch
* grinding fix
* fix
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
/turf/simulated/mineral/vacuum/gb_mine/make_ore(var/rare_ore)
|
|
if(mineral)
|
|
return
|
|
var/mineral_name
|
|
if(rare_ore)
|
|
mineral_name = pickweight(list(
|
|
ORE_MARBLE = 3,
|
|
ORE_URANIUM = 10,
|
|
ORE_PLATINUM = 10,
|
|
ORE_HEMATITE = 20,
|
|
ORE_CARBON = 20,
|
|
ORE_DIAMOND = 1,
|
|
ORE_GOLD = 8,
|
|
ORE_SILVER = 8,
|
|
ORE_PHORON = 18,
|
|
ORE_LEAD = 2,
|
|
ORE_VERDANTIUM = 1,
|
|
ORE_TIN = 3,
|
|
ORE_COPPER = 2,
|
|
ORE_BAUXITE = 9,
|
|
ORE_QUARTZ = 5,
|
|
ORE_PAINITE = 1))
|
|
else
|
|
mineral_name = pickweight(list(
|
|
ORE_MARBLE = 2,
|
|
ORE_URANIUM = 5,
|
|
ORE_PLATINUM = 5,
|
|
ORE_HEMATITE = 35,
|
|
ORE_CARBON = 35,
|
|
ORE_GOLD = 3,
|
|
ORE_SILVER = 3,
|
|
ORE_PHORON = 25,
|
|
ORE_LEAD = 1,
|
|
ORE_TIN = 12,
|
|
ORE_COPPER = 9))
|
|
|
|
if(mineral_name && (mineral_name in GLOB.ore_data))
|
|
mineral = GLOB.ore_data[mineral_name]
|
|
UpdateMineral()
|
|
update_icon()
|
|
|
|
/datum/random_map/noise/ore/gb_mining
|
|
descriptor = "groundbase underground ore distribution map"
|
|
deep_val = 0.7
|
|
rare_val = 0.5
|
|
|
|
/datum/random_map/noise/ore/mining/check_map_sanity()
|
|
return 1 //Totally random, but probably beneficial.
|