Results 1 to 1 of 1

Thread: Scripting: Total food for a faction

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Scripting: Total food for a faction

    How do I access this value?

    I want to add a dynamic bonus depending on the amount of food surplus a faction has, but to do this I need to know how much food a faction has in the first place.

    The idea is to use the surplus to add bonus income/order/growth to a faction according to the size of the surplus recorded for which I'm probably going to have to hijack a bunch of traits to make the effects work (I'm assuming here that I can't just go effect.gdp_mod_all(val) to increase the income of a faction)
    Last edited by crzyrndm; November 06, 2013 at 02:37 AM.
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •