GameGreatPeople.GetPatronizeCost
# GameGreatPeople:GetPatronizeCost
this function is a member of GameGreatPeople this method expects an implicit “self” argument. invoke it with
:
# Usage
UI | Script | Returns | Function | Arguments |
---|---|---|---|---|
✓ | ✓ | GameGreatPeople:GetPatronizeCost | PlayerID [number] IndividualID [number] YieldType [number] |
# Notes
YieldType [number]
corresponds to an entry in the YieldTypes
global table, NOT the Index of the yield in the game database.
For instance, see this code sample:
pGreatPeople:GetPatronizeCost(displayPlayerID, entry.Individual, YieldTypes.GOLD)
# Parameters
PlayerID [number]
IndividualID [number]
- Corresponds to a an
Index
orHash
column in theGreatPersonIndividuals
table
- Corresponds to a an
YieldType [number]
- corresponds to an entry in the
YieldTypes
global table
- corresponds to an entry in the