mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-07-22 11:42:49 +01:00
1270722e8d
- moves stuff to more sane places so modules folder isn't so messy - adds a world system that is the start of being able to data-define world locations and having the game act differently based on which location a map is in there's no ability to separate 'pre-load map' (and a way for persistence to inject this so we can have moving maps yet) but we can add it in later since things are decently abstracted.
11 lines
410 B
Plaintext
11 lines
410 B
Plaintext
/datum/unit_test/loadout_test_shall_have_name_cost_path/Run()
|
|
for(var/geartype in typesof(/datum/loadout_entry) - /datum/loadout_entry)
|
|
var/datum/loadout_entry/G = geartype
|
|
|
|
if(!initial(G.display_name))
|
|
Fail("[G]: Loadout - Missing display name.")
|
|
else if(isnull(initial(G.cost)))
|
|
Fail("[G]: Loadout - Missing cost.")
|
|
else if(!initial(G.path))
|
|
Fail("[G]: Loadout - Missing path definition.")
|