1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Miasma Yields

Discussion in 'CivBE - Modding Help & Mod Creation' started by Starrynite120, Feb 10, 2016.

  1. Starrynite120

    Starrynite120 Prince

    Jul 15, 2015
    I've just tried changing the yields of tiles with miasma on it, but miasma seems resistant to any attempts to change its yields. Any time I update a table to change its yields it doesn't work. Anyone know why or how to get around this?
  2. Ryika

    Ryika Lazy Wannabe Artista

    Aug 30, 2013
    Miasma is not handled as a proper Feature by the game (probably because it can coexist with other features), so all functions that add yields to features don't work with miasma.
  3. GenEngineer

    GenEngineer Prince

    Aug 24, 2014
    Depending on what you want to make the Miasma yield, it might be possible to cheat it in some ways - you an use the LUA to cycle through all applicable cities (based on which ones can get yield from Miasma), then for each city, cycle through all tiles it owns to keep a running count of the number with FEATURE_MIASMA on it. At the end, Grant yield appropriate to the number of Miasma tiles. It won't show up on any of the tooltips, sadly, and unless it's food it will be granted to the player total instead of stopping at the city first (so no multipliers, no using for culture expand), but still potentially useful.

Share This Page