Module necro.game.item.Currency
Functions
Tables
Type |
Functions
- add (entity, currencyType, amount, item)
-
Parameters:
- entity
- currencyType
- amount
- item
- collect (entity, currencyType, amount)
-
Parameters:
- entity
- currencyType
- amount
- create (currencyType, x, y, amount)
-
Parameters:
- currencyType
- x
- y
- amount
- get (entity, currencyType)
-
Parameters:
- entity
- currencyType
- getItemForAmount (currencyType, amount)
-
Parameters:
- currencyType
- amount
- hasComponent (entity, currencyType)
-
Parameters:
- entity
- currencyType
- lookUpEntityType (currencyType, amount)
-
Parameters:
- currencyType
- amount
- set (entity, currencyType, amount, item)
-
Parameters:
- entity
- currencyType
- amount
- item
- subtract (entity, currencyType, amount, item)
-
Parameters:
- entity
- currencyType
- amount
- item