(8-27a) 4UC Mongolia: Make Yassa A Unique Project, and Reduce Pillage XP On Black Tug

Status
Not open for further replies.

azum4roll

Lost the game
Joined
Jul 17, 2018
Messages
4,752
Location
Somewhere
Link:


Unique Project - Adopt the Yassa
Unlocked at Philosophy
200 :c5production:
+20% :c5production: Production towards Archery, Siege, Mounted, and Armored Units in all Cities
-2% :c5unhappy: Empire Size Modifier from number of Cities (3% instead of 5% per city)
Receive 10 :c5gold: Gold, 10 :c5science: Science, and 10 :c5culture: Culture in all Cities when you conquer a City, scaling with Era

No buildings are involved. Would be nice if the UI can show completed projects in general, but we can do without for now.
UI sponsor is required to make it appear on civ selection screen.

UU2 - Black Tug (replaces Knight)
Unlocked at Chivalry
Standard costs
Requires 1 Horse

25 :c5strength: (+1)
No Defensive Terrain Bonuses
Can Move After Attacking
City Attack Penalty
Mingghan (Gain 3 XP when pillaging improvements. +20% base :c5strength: Combat Strength in tiles with pillaged improvements.)
Charge I

5 XP per pillage on a non-recon unit is excessive. It's desirable to turn that column into an integer, so let's do that right now.
 
Last edited:
-2% :c5unhappy: Empire Size Modifier from number of Cities (3% instead of 5% per city)
This looks like a typo. Where are the needs modifiers?
5 XP per pillage on a non-recon unit is excessive. It's desirable to turn that column into an integer, so let's do that right now
Agreed.
 
This looks like a typo. Where are the needs modifiers?
Defense buildings refer to it as just "Empire Size Modifier".
1721140920681.png


Here's the Civilopedia entry snippet for Empire Size Modifier. You'll find a slight difference between my proposal and yours: mine simply reduces that 5% per city to 3%, while yours also put the Yassa in the Capital and puppet cities (which don't increase Empire Size Modifier), reducing the modifier even more.
1721140904064.png
 
my proposal ignores the empire size modifier and reduces the base needs directly:
1721141535222.png


So to be clear, you intend to change that to a empire size modifier reduction instead of % needs reduction?
 
Last edited:
MAGI:
So @azum4roll is this a one-off project in the capital? Or every city? Is it repeatable?
It reads like it is only once in the capital, so you can't use the Public Works EmpireSizeModifierReduction column since it's local to the city. You'll then want to put in the dummy policy like Manhattan project does, and this will do the yields on City Capture... but only in the Capital. Also in Policies I don't think we have EmpireSizeReductionModifier yet, so that would have to be added if this route is taken also.

Did you have an idea of how you wanted to do this?

The XP on pillage is hard coded to 5 XP, so that needs a DLL tweak also
Then this part also needs a sponsor
UI sponsor is required to make it appear on civ selection screen.
 
They can all be new columns in the Projects table.

One-off project built anywhere like Manhattan. Has the plus side of NEVER losing it and having to rebuild it even if the city is conquered.
 
New columns in Projects table:
EmpireSizeModifierPerCityMod - modifier to the EMPIRE_SIZE_NEED_MODIFIER_CITIES variable; will be set to -40 (500 -> 300)
CivilizationType - the Civilization that can exclusively work on this; will also make the project show up on civ info (pregame, loading, Civilopedia entry)

New Project_UnitCombatProductionModifiersGlobal table:
Same as Building_UnitCombatProductionModifiers, but for projects and is global.

New Project_YieldFromConquestAllCities table:
Same as Belief_YieldFromConquest, but for projects and gives yields to every city.

Change GainsXPFromPillaging column in UnitPromotions table to XPFromPillaging (integer, default 0).
 
Timestamp post to arrange all the threads in a neat order.
 
Last edited:
Status
Not open for further replies.
Back
Top Bottom