byond - Modules - TypesVar Details - Proc Details

hive_upgrade

Vars

categoryname of the category it belongs to, string, used in ui
descdesc of the upgrade, string, used in ui
gamemode_flagsgamemode flags to whether this upgrade is purchasable
iconstring for UI icon in buyable_icons.dmi for this upgrade
namename of the upgrade, string, used in ui
psypoint_costPsy point cost, float
times_boughtint of the times we bought this upgrade
upgrade_flagsupgrade flag var

Procs

can_buyWhether we can buy this upgrade, used to set the menu button as grey or not returns true on can false on cannot Arguments:
on_buyBuys the upgrade and applies its effects returns true on success false on fail Arguments:

Var Details

category

name of the category it belongs to, string, used in ui

desc

desc of the upgrade, string, used in ui

gamemode_flags

gamemode flags to whether this upgrade is purchasable

icon

string for UI icon in buyable_icons.dmi for this upgrade

name

name of the upgrade, string, used in ui

psypoint_cost

Psy point cost, float

times_bought

int of the times we bought this upgrade

upgrade_flags

upgrade flag var

Proc Details

can_buy

Whether we can buy this upgrade, used to set the menu button as grey or not returns true on can false on cannot Arguments:

on_buy

Buys the upgrade and applies its effects returns true on success false on fail Arguments: