Customized Great Works in a UB?

isnorden

Amnesiac Modder
Joined
Jul 6, 2012
Messages
608
Location
Madison, Wisconsin, USA
Short of re-coding the DLL (or the entire game), is it possible to select which great works of literature can go into a civ-specific building? {The result I'm looking for? It's OK to put Alice in Wonderland in a Library or University even if you're Nordic; but if you've built a Runestone and not filled the literature slot yet, then a special Great Person/Work pair will be the next one created,) Please let me know whether this is doable!
 
I've never edited DLL data before; is there a tutorial for writing this kind of rule?
 
qqqbbb is saying that William's VMC provides an lua 'event' called UnitCanHaveGreatWork which you can write an lua script to hook into, but this makes your mod entirely dependant on the user having VMC enabled.

Alternately you can write the lua-script to 1st detect if VMC is enabled and only execute the UnitCanHaveGreatWork script when VMC is being used. Otherwise the player gets pot-luck artists.
 
Top Bottom