mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Added a ruins UT (#18290)
* sdfa * fas * the godness guides, the godness protects * sadf * sdf * fsa * exoplanets_ruins config for UT * sdaf * sdf * curse upon me
This commit is contained in:
+24
-10
@@ -22,18 +22,27 @@
|
||||
/// Unused?
|
||||
var/player_cost = 0
|
||||
|
||||
/// This ruin can only spawn in the sectors in this list.
|
||||
/// Should contain names of sectors as defined in `space_sectors.dm`.
|
||||
/// This list is flattened so it can contain nested lists like, for example, `ALL_POSSIBLE_SECTORS`.
|
||||
/**
|
||||
* This ruin can only spawn in the sectors in this list
|
||||
*
|
||||
* Should contain names of sectors as defined in `code\__DEFINES\space_sectors.dm`
|
||||
*
|
||||
* This list is flattened so it can contain nested lists, eg `ALL_POSSIBLE_SECTORS`
|
||||
*/
|
||||
var/list/sectors = list()
|
||||
/// Sectors in this list are removed from the `sectors` list.
|
||||
/// Usage is same as of `sectors`.
|
||||
/// Intention is to allow to, for example, set `sectors` to `ALL_POSSIBLE_SECTORS`,
|
||||
/// but then disallow just one sector from that list.
|
||||
|
||||
/**
|
||||
* Sectors in this list are removed from the `sectors` list
|
||||
*
|
||||
* Usage is same as of `sectors`
|
||||
*
|
||||
* It allows to, for example, set `sectors` to `ALL_POSSIBLE_SECTORS` and then disallow it in specific ones
|
||||
*/
|
||||
var/list/sectors_blacklist = list()
|
||||
|
||||
/// Prefix part of the path to the dmm maps.
|
||||
var/prefix = null
|
||||
|
||||
/// A list of suffix parts of paths of the dmm maps.
|
||||
/// Combined with prefix to get the actual path.
|
||||
var/list/suffixes = null
|
||||
@@ -41,9 +50,14 @@
|
||||
/// Template flags for this ruin
|
||||
template_flags = TEMPLATE_FLAG_NO_RUINS
|
||||
|
||||
var/list/force_ruins // Listed ruins are always spawned unless disallowed by flags.
|
||||
var/list/allow_ruins // Listed ruins are added to the set of available spawns.
|
||||
var/list/ban_ruins // Listed ruins are removed from the set of available spawns. Beats allowed.
|
||||
///Listed ruins are always spawned unless disallowed by flags
|
||||
var/list/force_ruins
|
||||
|
||||
//Listed ruins are added to the set of available spawns
|
||||
var/list/allow_ruins
|
||||
|
||||
///Listed ruins are removed from the set of available spawns
|
||||
var/list/ban_ruins
|
||||
|
||||
/datum/map_template/ruin/New()
|
||||
// get the map paths
|
||||
|
||||
Reference in New Issue
Block a user