How to add a base
Posted: Sat Sep 27, 2014 11:38 pm
Newbie question 
I do not get how to add a new any item. Simple example:
1. I copy default ruleset to another directory
2. I made a file ruleset.serv so it is visible within the game
3. I edit as example: terrain.ruleset
4. I copy fortress rules so I get 2 fortresses (with different names) like this:
[base_fortress]
name = _("Fortress")
graphic = "base.fortress"
graphic_alt = "-"
activity_gfx = "unit.fortress"
reqs =
{ "type", "name", "range"
"Tech", "Construction", "Player"
"TerrainClass", "Land", "Local"
"UnitFlag", "Settlers", "Local"
}
gui_type = "Fortress"
build_time = 3
defense_bonus = 100
border_sq = 5
native_to = "Land"
flags = "NoAggressive", "NoStackDeath", "DiplomatDefense"
helptext = _("\
Fortresses improve defense for land units. Among other effects, a land \
unit remaining in a fortress for a whole turn without moving recovers \
a quarter of its hit points. With Invention, fortresses gain watchtowers \
from which units can see further afield.\
")
[base_outpost]
name = _("Outpost")
graphic = "base.fortress"
graphic_alt = "-"
activity_gfx = "unit.fortress"
reqs =
{ "type", "name", "range"
"Tech", "Construction", "Player"
"TerrainClass", "Land", "Local"
"UnitFlag", "Settlers", "Local"
}
gui_type = "Fortress"
build_time = 3
defense_bonus = 100
border_sq = 5
native_to = "Land"
flags = "NoAggressive", "NoStackDeath", "DiplomatDefense"
helptext = _("\
Fortresses improve defense for land units. Among other effects, a land \
unit remaining in a fortress for a whole turn without moving recovers \
a quarter of its hit points. With Invention, fortresses gain watchtowers \
from which units can see further afield.\
")
5. I DO NOT SEE my 2nd fortress within the game.
6. What am I doing wrong? I believe I have to add my "new fortress" to the game, but where exactly?
Please help

I do not get how to add a new any item. Simple example:
1. I copy default ruleset to another directory
2. I made a file ruleset.serv so it is visible within the game
3. I edit as example: terrain.ruleset
4. I copy fortress rules so I get 2 fortresses (with different names) like this:
[base_fortress]
name = _("Fortress")
graphic = "base.fortress"
graphic_alt = "-"
activity_gfx = "unit.fortress"
reqs =
{ "type", "name", "range"
"Tech", "Construction", "Player"
"TerrainClass", "Land", "Local"
"UnitFlag", "Settlers", "Local"
}
gui_type = "Fortress"
build_time = 3
defense_bonus = 100
border_sq = 5
native_to = "Land"
flags = "NoAggressive", "NoStackDeath", "DiplomatDefense"
helptext = _("\
Fortresses improve defense for land units. Among other effects, a land \
unit remaining in a fortress for a whole turn without moving recovers \
a quarter of its hit points. With Invention, fortresses gain watchtowers \
from which units can see further afield.\
")
[base_outpost]
name = _("Outpost")
graphic = "base.fortress"
graphic_alt = "-"
activity_gfx = "unit.fortress"
reqs =
{ "type", "name", "range"
"Tech", "Construction", "Player"
"TerrainClass", "Land", "Local"
"UnitFlag", "Settlers", "Local"
}
gui_type = "Fortress"
build_time = 3
defense_bonus = 100
border_sq = 5
native_to = "Land"
flags = "NoAggressive", "NoStackDeath", "DiplomatDefense"
helptext = _("\
Fortresses improve defense for land units. Among other effects, a land \
unit remaining in a fortress for a whole turn without moving recovers \
a quarter of its hit points. With Invention, fortresses gain watchtowers \
from which units can see further afield.\
")
5. I DO NOT SEE my 2nd fortress within the game.
6. What am I doing wrong? I believe I have to add my "new fortress" to the game, but where exactly?
Please help
