File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ --[[
2+ The art replacements for units in the standalone mode.
3+ A key represents a name of a unit prototype,
4+ a value refers to a directory with unit art in C7/Assets/Art/Units
5+ ]]
16local unit_replacement_art_map = {
27 [" Settler" ] = " Carthaginian Settler" ,
38 [" Worker" ] = " Carthaginian Worker" ,
@@ -28,6 +33,15 @@ local unit_replacement_art_map = {
2833 [" Curragh" ] = " MinoanGalley" ,
2934}
3035
36+ --[[
37+ This function defines the standalone addon to the base ruleset.
38+
39+ This function takes the initial save data from `base-ruleset.json` and
40+ removes the units for which we don't have graphics replacements.
41+
42+ On the C# side, this function is called as part of addon loading logic
43+ in GameModeLoader class
44+ ]]
3145return function (civ3_game_mode )
3246 local updated_unit_prototypes = {}
3347
You can’t perform that action at this time.
0 commit comments