Corndog Ninja
Chieftain
- Joined
- Dec 9, 2014
- Messages
- 2
I'm working on a mod and have an idea for a unique building that provides a luxury resource. I'm not sure if it can be implemented, though.
I've added a resource to the game. This new resource is technically not unique to the new civ, but it does not spawn on the map. Now, the way to get copies of this resource is to build the unique building. This is a building that is constructed in a city, not on a tile, and yields one copy of the resource. Therefore, the new resource is effectively unique, but rather than being free like the Indonesian ones (Nutmeg, Cloves, and Pepper) a building is required; this also means that they can have more of it if more cities are built.
I'm not sure if this is possible, though - looking at the XML the only YieldTypes are food, production, gold, science, culture, and faith. Is there some way I could swing this to work?
I've added a resource to the game. This new resource is technically not unique to the new civ, but it does not spawn on the map. Now, the way to get copies of this resource is to build the unique building. This is a building that is constructed in a city, not on a tile, and yields one copy of the resource. Therefore, the new resource is effectively unique, but rather than being free like the Indonesian ones (Nutmeg, Cloves, and Pepper) a building is required; this also means that they can have more of it if more cities are built.
I'm not sure if this is possible, though - looking at the XML the only YieldTypes are food, production, gold, science, culture, and faith. Is there some way I could swing this to work?