adaneslavo / More-Unique-Components-for-VP

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

Add game speed scaling to instant yields #17

Closed theazuresoul closed 6 years ago

theazuresoul commented 6 years ago

Game speed scaling for instant yields from Ranch, Madrasah, Tophet and Examination Hall

adaneslavo commented 6 years ago

You need to add also math.floor(yield +0.5) to have integers not numbers like 15.66666

adaneslavo commented 6 years ago

If define local value you dont need to declare it immediately. So you can add local iGameSpeedModifier instead of local iGameSpeedModifier = 1.

adaneslavo commented 6 years ago

You can add also popups messages for instant yields btw. Copy all stuff from Klepht f.i.

theazuresoul commented 6 years ago

I don't think either of those first things are strictly necessary, but I pushed commits for them. The notification issue I'll handle in a separate commit.