How to make a building mod?

MistaScriblez

Chieftain
Joined
May 17, 2014
Messages
22
Location
Los Angeles
Want to make a mod that gives 1/2 production for every pop in a city, same as a library in civ 5 but with production in civ 6. The required district would be the city center
 
im not entirely sure myself atm, im working on it though, i know i need is this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameInfo>
    <Types>
        <Row Type="BUILDING_TYPENAME" Kind="KIND_BUILDING" />
    </Types>
    <Buildings>
        <Row BuildingType="BUILDING_TYPENAME"
            Name="BUILDING_NAME"
            PrereqDistrict="DISTRICT_CITY_CENTER"
            PurchaseYield="YIELD_GOLD"
            Cost="100"
            AdvisorType="ADVISOR_GENERIC" />
    </Buildings>
    <!-- TODO! Modifier and ModifierEffect to add production -->
</GameInfo>
 
im not entirely sure myself atm, im working on it though, i know i need is this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameInfo>
    <Types>
        <Row Type="BUILDING_TYPENAME" Kind="KIND_BUILDING" />
    </Types>
    <Buildings>
        <Row BuildingType="BUILDING_TYPENAME"
            Name="BUILDING_NAME"
            PrereqDistrict="DISTRICT_CITY_CENTER"
            PurchaseYield="YIELD_GOLD"
            Cost="100"
            AdvisorType="ADVISOR_GENERIC" />
    </Buildings>
    <!-- TODO! Modifier and ModifierEffect to add production -->
</GameInfo>
thanks when you find out how to add production by population please post, this game really needs more production right now!
 
Top Bottom