adaneslavo / More-Unique-Components-for-VP

Adds 3rd and 4th unique component to each civilization.
1 stars 6 forks source link

Lua for Zulu #49

Closed theazuresoul closed 6 years ago

theazuresoul commented 6 years ago

InDuna - need lua for giving XP to stacked and adjacent units when an InDuna is expended (ie. on citadel construction) Iziko - need lua for culture when a unit levels up on empire

Hokath commented 6 years ago

The AI isn't going to be able to use InDuna, is it? Perhaps it should give empire-wide xp like those city state quests instead

Infixo commented 6 years ago

Certainly not "on purpose". Only by chance.

pineappledan commented 6 years ago

It's not like the AI doesn't know to stack units on great generals.

Looking at the Dojo code, it looks like the Iziko code can be implemented in sql:

INSERT INTO Building_YieldFromUnitLevelUp (BuildingType, YieldType, Yield) VALUES ('BUILDING_DOJO', 'YIELD_CULTURE', 4), ('BUILDING_DOJO', 'YIELD_SCIENCE', 4);

Hokath commented 6 years ago

It's not that they wont stack, its if they stack while building a citadel. Usually I see them send generals to the front to citadel-bomb tiles during peacetime.

The Iziko change has been made.

pineappledan commented 6 years ago

I'm guessing the easiest way to do this would be to trigger on creation of citadel improvement If Zulu, on citadel creation, 60XP on citadel plot, 15XP on plot adjacent to citadel

Hokath commented 6 years ago

I would suggest a rethink. Something that boosts the unit with which the general is stacked, perhaps.

pineappledan commented 6 years ago

New InDuna lua proposal; 2 effects: