pai_software ![code/modules/mob/living/silicon/pai/software_modules.dm 1](git.png)
Vars | |
default | Whether pAIs should automatically receive this module at no cost |
---|---|
id | ID for the software. This must be unique |
name | Name for the software. This is used as the button text when buying or opening/toggling the software |
ram_cost | RAM cost; pAIs start with 100 RAM, spending it on programs |
toggle | Whether this software is a toggle or not. If true, should override toggle() and is_active(). If not, should override on_ui_interact() and Topic() |
Var Details
default ![code/modules/mob/living/silicon/pai/software_modules.dm 15](git.png)
Whether pAIs should automatically receive this module at no cost
id ![code/modules/mob/living/silicon/pai/software_modules.dm 9](git.png)
ID for the software. This must be unique
name ![code/modules/mob/living/silicon/pai/software_modules.dm 3](git.png)
Name for the software. This is used as the button text when buying or opening/toggling the software
ram_cost ![code/modules/mob/living/silicon/pai/software_modules.dm 6](git.png)
RAM cost; pAIs start with 100 RAM, spending it on programs
toggle ![code/modules/mob/living/silicon/pai/software_modules.dm 12](git.png)
Whether this software is a toggle or not. If true, should override toggle() and is_active(). If not, should override on_ui_interact() and Topic()