Files
fulpstation/code/__DEFINES/station.dm
Bilbo367 a6070faf3a TGU - 3/14/2024 (#1154)
* TGU - 3/14/2024

* a

* nanite source fix

* Fixes Cargo

* Fix polling mutating its target's plane and layer

* Fixing cargo 2

---------

Co-authored-by: JohnFulpWillard <53777086+JohnFulpWillard@users.noreply.github.com>
2024-03-20 09:12:21 -07:00

27 lines
1.1 KiB
Plaintext

#define STATION_TRAIT_POSITIVE 1
#define STATION_TRAIT_NEUTRAL 2
#define STATION_TRAIT_NEGATIVE 3
///Defines for the cost of different station traits. This one is the default.
#define STATION_TRAIT_COST_FULL 1
///Cost for smaller traits that could fly under the radar, and are only minorly negative/positive if not neutral.
#define STATION_TRAIT_COST_LOW 0.5
///Cost for very little, and mainly neutral traits that hardly amount to anything really that interesting.
#define STATION_TRAIT_COST_MINIMAL 0.3
/// Only run on planet stations
#define STATION_TRAIT_PLANETARY (1<<0)
/// Only run on space stations
#define STATION_TRAIT_SPACE_BOUND (1<<1)
/// Only run if AIs are enabled.
#define STATION_TRAIT_REQUIRES_AI (1<<2)
/// Not restricted by space or planet, can always just happen
#define STATION_TRAIT_MAP_UNRESTRICTED STATION_TRAIT_PLANETARY | STATION_TRAIT_SPACE_BOUND
/// The data file that future station traits forced by an admin are stored in
#define FUTURE_STATION_TRAITS_FILE "data/future_station_traits.json"
/// The amount of time until the station charter can no longer be used to rename the station
#define STATION_RENAME_TIME_LIMIT 5 MINUTES