Virtual Domains ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 5](git.png)
Create your own: Read the readme file in the '_maps/virtual_domains' folder.
Vars | |
announce_to_ghosts | Whether to tell observers this map is being used |
---|---|
completion_loot | Loot An assoc list of typepath/amount to spawn on completion. Not weighted - the value is the amount |
cost | Generic settings / UI Cost of this map to load |
custom_spawns | Spawning Looks for random landmarks to spawn on. |
desc | The description of the map for the console UI |
difficulty | Affects the ui and ability to scan info. |
disk_reward_spawned | Has this domain been beaten with high enough score to spawn a tech disk? |
external_load_flags | Player customization Any restrictions this domain has on what external sources can load in |
filename | The map file to load |
forced_outfit | Any outfit that you wish to force on avatars. Overrides preferences |
help_text | Write these to help complete puzzles and other objectives. Viewed in the domain info ability. |
is_modular | Modularity Whether to display this as a modular map |
keep_custom_spawns | Set TRUE if you want reusable custom spawners |
mob_modules | Byond will look for modular mob segment landmarks then choose from here at random. You can make them unique also. |
modular_unique_mobs | Forces all mob modules to only load once |
reward_points | Points to reward for completion. Used to purchase new domains and calculate ore rewards. |
secondary_loot | An assoc list of typepath/amount to spawn from secondary objectives. Not weighted - the value is the total number of items that can be obtained. |
secondary_loot_generated | Number of secondary loot boxes generated. Resets when the domain is reloaded. |
start_time | The start time of the map. Used to calculate time taken |
test_only | This map is specifically for unit tests. Shouldn't display in game |
Procs | |
add_points | Sends a point to any loot signals on the map |
setup_domain | Overridable proc to be called after the map is loaded. |
Var Details
announce_to_ghosts ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 11](git.png)
Whether to tell observers this map is being used
completion_loot ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 50](git.png)
Loot An assoc list of typepath/amount to spawn on completion. Not weighted - the value is the amount
cost ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 24](git.png)
Generic settings / UI Cost of this map to load
custom_spawns ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 74](git.png)
Spawning Looks for random landmarks to spawn on.
desc ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 26](git.png)
The description of the map for the console UI
difficulty ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 28](git.png)
Affects the ui and ability to scan info.
disk_reward_spawned ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 56](git.png)
Has this domain been beaten with high enough score to spawn a tech disk?
external_load_flags ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 41](git.png)
Player customization Any restrictions this domain has on what external sources can load in
filename ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 13](git.png)
The map file to load
forced_outfit ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 43](git.png)
Any outfit that you wish to force on avatars. Overrides preferences
help_text ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 30](git.png)
Write these to help complete puzzles and other objectives. Viewed in the domain info ability.
is_modular ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 63](git.png)
Modularity Whether to display this as a modular map
keep_custom_spawns ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 76](git.png)
Set TRUE if you want reusable custom spawners
mob_modules ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 65](git.png)
Byond will look for modular mob segment landmarks then choose from here at random. You can make them unique also.
modular_unique_mobs ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 67](git.png)
Forces all mob modules to only load once
reward_points ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 34](git.png)
Points to reward for completion. Used to purchase new domains and calculate ore rewards.
secondary_loot ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 52](git.png)
An assoc list of typepath/amount to spawn from secondary objectives. Not weighted - the value is the total number of items that can be obtained.
secondary_loot_generated ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 54](git.png)
Number of secondary loot boxes generated. Resets when the domain is reloaded.
start_time ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 15](git.png)
The start time of the map. Used to calculate time taken
test_only ![code/modules/bitrunning/virtual_domain/virtual_domain.dm 17](git.png)
This map is specifically for unit tests. Shouldn't display in game
Proc Details
add_points
Sends a point to any loot signals on the map
setup_domain
Overridable proc to be called after the map is loaded.