mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
Merge remote-tracking branch 'tgstation/master' into upstream-2025-11-29
# Conflicts: # _maps/RandomRuins/SpaceRuins/derelict_sulaco.dmm # _maps/RandomRuins/SpaceRuins/garbagetruck2.dmm # _maps/map_files/CatwalkStation/CatwalkStation_2023.dmm # _maps/map_files/tramstation/tramstation.dmm # code/_onclick/hud/new_player.dm # code/datums/components/squashable.dm # code/datums/diseases/advance/symptoms/heal.dm # code/datums/diseases/chronic_illness.dm # code/datums/status_effects/buffs.dm # code/datums/status_effects/debuffs/drunk.dm # code/datums/status_effects/debuffs/stamcrit.dm # code/game/machinery/computer/crew.dm # code/game/objects/items/devices/scanners/health_analyzer.dm # code/game/objects/items/wall_mounted.dm # code/game/turfs/closed/indestructible.dm # code/modules/admin/view_variables/filterrific.dm # code/modules/antagonists/heretic/influences.dm # code/modules/cargo/orderconsole.dm # code/modules/client/preferences.dm # code/modules/events/space_vines/vine_mutations.dm # code/modules/mob/dead/new_player/new_player.dm # code/modules/mob/living/carbon/human/death.dm # code/modules/mob/living/carbon/human/species_types/jellypeople.dm # code/modules/mob/living/damage_procs.dm # code/modules/mob/living/living.dm # code/modules/mob_spawn/ghost_roles/mining_roles.dm # code/modules/mob_spawn/mob_spawn.dm # code/modules/projectiles/ammunition/energy/laser.dm # code/modules/projectiles/guns/ballistic/launchers.dm # code/modules/projectiles/guns/energy/laser.dm # code/modules/reagents/chemistry/machinery/chem_dispenser.dm # code/modules/reagents/chemistry/reagents/cat2_medicine_reagents.dm # code/modules/reagents/chemistry/reagents/drinks/alcohol_reagents.dm # code/modules/reagents/chemistry/reagents/medicine_reagents.dm # code/modules/surgery/healing.dm # code/modules/unit_tests/designs.dm # icons/mob/inhands/items_lefthand.dmi # icons/mob/inhands/items_righthand.dmi # tgui/packages/tgui/interfaces/ChemDispenser.tsx
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
|
||||
/datum/map_generator/cave_generator/generate_terrain(list/turfs, area/generate_in)
|
||||
. = ..()
|
||||
if(!(generate_in.area_flags & CAVES_ALLOWED))
|
||||
if(!(generate_in.area_flags_mapping & CAVES_ALLOWED))
|
||||
return
|
||||
|
||||
if(length(possible_biomes))
|
||||
@@ -142,7 +142,7 @@
|
||||
* you're probably doing something wrong.
|
||||
*/
|
||||
/datum/map_generator/cave_generator/proc/generate_terrain_with_biomes(list/turfs, area/generate_in)
|
||||
if(!(generate_in.area_flags & CAVES_ALLOWED))
|
||||
if(!(generate_in.area_flags_mapping & CAVES_ALLOWED))
|
||||
return
|
||||
|
||||
var/humidity_seed = rand(0, 50000)
|
||||
@@ -216,10 +216,10 @@
|
||||
return populate_terrain_with_biomes(turfs, generate_in)
|
||||
|
||||
// Area var pullouts to make accessing in the loop faster
|
||||
var/flora_allowed = (generate_in.area_flags & FLORA_ALLOWED) && length(flora_spawn_list)
|
||||
var/feature_allowed = (generate_in.area_flags & FLORA_ALLOWED) && length(feature_spawn_list)
|
||||
var/mobs_allowed = (generate_in.area_flags & MOB_SPAWN_ALLOWED) && length(mob_spawn_list)
|
||||
var/megas_allowed = (generate_in.area_flags & MEGAFAUNA_SPAWN_ALLOWED) && length(megafauna_spawn_list)
|
||||
var/flora_allowed = (generate_in.area_flags_mapping & FLORA_ALLOWED) && length(flora_spawn_list)
|
||||
var/feature_allowed = (generate_in.area_flags_mapping & FLORA_ALLOWED) && length(feature_spawn_list)
|
||||
var/mobs_allowed = (generate_in.area_flags_mapping & MOB_SPAWN_ALLOWED) && length(mob_spawn_list)
|
||||
var/megas_allowed = (generate_in.area_flags_mapping & MEGAFAUNA_SPAWN_ALLOWED) && length(megafauna_spawn_list)
|
||||
|
||||
var/start_time = REALTIMEOFDAY
|
||||
|
||||
@@ -315,9 +315,9 @@
|
||||
*/
|
||||
/datum/map_generator/cave_generator/proc/populate_terrain_with_biomes(list/turfs, area/generate_in)
|
||||
// Area var pullouts to make accessing in the loop faster
|
||||
var/flora_allowed = (generate_in.area_flags & FLORA_ALLOWED)
|
||||
var/features_allowed = (generate_in.area_flags & FLORA_ALLOWED)
|
||||
var/fauna_allowed = (generate_in.area_flags & MOB_SPAWN_ALLOWED)
|
||||
var/flora_allowed = (generate_in.area_flags_mapping & FLORA_ALLOWED)
|
||||
var/features_allowed = (generate_in.area_flags_mapping & FLORA_ALLOWED)
|
||||
var/fauna_allowed = (generate_in.area_flags_mapping & MOB_SPAWN_ALLOWED)
|
||||
|
||||
var/start_time = REALTIMEOFDAY
|
||||
|
||||
|
||||
@@ -136,7 +136,6 @@
|
||||
if(!(flora_allowed && length(flora_types)) && !(features_allowed && length(feature_types)) && !(fauna_allowed && length(fauna_types)))
|
||||
return
|
||||
|
||||
|
||||
for(var/turf/target_turf as anything in target_turfs)
|
||||
// We do the CHECK_TICK here because there's a bunch of continue calls
|
||||
// in this.
|
||||
|
||||
Reference in New Issue
Block a user