mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 00:22:12 +00:00
Exoplanet Ore Patches (#16271)
* the end of the beginning * SPEED * SPEED * we real speed * fix ore gen * re-organize exoplanet stuff * reorg and rename defines, fix ores * Everything Else * 1.2.0+a3 rust_g * fix merge * get rid of noise maps * fix adhomai, delete random maps * make adhomai poggers or something idk * debug * crystal planet, misc bugfixes * fixes * log * change mineral gen to make adhomai work * try this * huh * huhw * rust_g 1.2.0+a4 * Ore Patches * finishing touches hopefully --------- Co-authored-by: John Wildkins <john.wildkins@gmail.com>
This commit is contained in:
@@ -107,6 +107,10 @@
|
||||
attached_satchel.insert_into_storage(ore)
|
||||
else if(istype(get_turf(src), /turf/simulated/floor))
|
||||
var/turf/simulated/floor/T = get_turf(src)
|
||||
var/turf/below_turf = GetBelow(T)
|
||||
if(below_turf && !istype(below_turf.loc, /area/mine) && !istype(below_turf.loc, /area/exoplanet) && !istype(below_turf.loc, /area/template_noop))
|
||||
system_error("Potential station breach below.")
|
||||
return
|
||||
T.ex_act(2.0)
|
||||
|
||||
//Dig out the tasty ores.
|
||||
@@ -116,6 +120,8 @@
|
||||
while(length(resource_field) && !harvesting.resources)
|
||||
harvesting.has_resources = FALSE
|
||||
harvesting.resources = null
|
||||
harvesting.cut_overlay(harvesting.resource_indicator)
|
||||
QDEL_NULL(harvesting.resource_indicator)
|
||||
resource_field -= harvesting
|
||||
if(length(resource_field))
|
||||
harvesting = pick(resource_field)
|
||||
@@ -161,6 +167,8 @@
|
||||
if(!found_resource)
|
||||
harvesting.has_resources = FALSE
|
||||
harvesting.resources = null
|
||||
harvesting.cut_overlay(harvesting.resource_indicator)
|
||||
QDEL_NULL(harvesting.resource_indicator)
|
||||
resource_field -= harvesting
|
||||
else
|
||||
active = FALSE
|
||||
|
||||
Reference in New Issue
Block a user