changeling ![code/modules/antagonists/changeling/changeling.dm 4](git.png)
Vars | |
absorbed_count | The amount of DNA gained. Includes DNA sting. |
---|---|
all_powers | Static typecache of all changeling powers that are usable. |
can_respec | Whether we can currently respec in the cellular emporium. |
cellular_emporium | A reference to our cellular emporium datum. |
changelingID | Changeling name, what other lings see over the hivemind when talking. |
chem_charges | The number of chemicals the changeling currently has. |
chem_recharge_rate | The chemical recharge rate per life tick. |
chem_recharge_slowdown | Any additional modifiers triggered by changelings that modify the chem_recharge_rate. |
chosen_sting | The currently active changeling sting. |
competitive_objectives | Weather we assign objectives which compete with other lings |
current_profile | Keeps track of the currently selected profile. |
dna_max | How many DNA strands the changeling can store for transformation. |
emporium_action | A reference to our cellular emporium action (which opens the UI for the datum). |
first_profile | The original profile of this changeling. |
genetic_points | The number of genetics points (to buy powers) this ling currently has. |
give_objectives | Whether to give this changeling objectives or not |
hive_name | The name of our "hive" that our ling came from. Flavor. |
innate_powers | List of all powers we start with. |
lingchemdisplay | UI displaying how many chems we have |
lingstingdisplay | UI displayng our currently active sting |
mimicing | The voice we're mimicing via the changeling voice ability. |
possible_changeling_IDs | Static list of possible ids. Initialized into the greek alphabet the first time it is used |
purchased_powers | Associated list of all powers we have evolved / bought from the emporium. [path] = [instance of path] |
slot2type | Satic list of what each slot associated with (in regard to changeling flesh items). |
sting_range | The range this ling can sting things. |
stolen_memories | A list of all memories we've stolen through absorbs. |
stored_profiles | list of datum/changeling_profile |
total_chem_storage | The max chemical storage the changeling currently has. |
total_genetic_points | The max number of genetics points (to buy powers) this ling can have.. |
true_absorbs | The amount of DMA gained using absorb, not DNA sting. Start with one (your original DNA) |
Procs | |
check_menu | Checks if we are allowed to interact with a radial menu |
give_power | Gives a passed changeling power datum to the player |
on_click_sting | Signal proc for COMSIG_MOB_MIDDLECLICKON and COMSIG_MOB_ALTCLICKON. Allows the changeling to sting people with a click. |
on_fullhealed | Signal proc for COMSIG_LIVING_POST_FULLY_HEAL |
on_life | Signal proc for COMSIG_LIVING_LIFE. Handles regenerating chemicals on life ticks. |
select_dna | Gives a changeling a list of all possible dnas in their profiles to choose from and returns profile containing their chosen dna |
Var Details
absorbed_count ![code/modules/antagonists/changeling/changeling.dm 36](git.png)
The amount of DNA gained. Includes DNA sting.
all_powers ![code/modules/antagonists/changeling/changeling.dm 81](git.png)
Static typecache of all changeling powers that are usable.
can_respec ![code/modules/antagonists/changeling/changeling.dm 63](git.png)
Whether we can currently respec in the cellular emporium.
cellular_emporium ![code/modules/antagonists/changeling/changeling.dm 68](git.png)
A reference to our cellular emporium datum.
changelingID ![code/modules/antagonists/changeling/changeling.dm 50](git.png)
Changeling name, what other lings see over the hivemind when talking.
chem_charges ![code/modules/antagonists/changeling/changeling.dm 40](git.png)
The number of chemicals the changeling currently has.
chem_recharge_rate ![code/modules/antagonists/changeling/changeling.dm 44](git.png)
The chemical recharge rate per life tick.
chem_recharge_slowdown ![code/modules/antagonists/changeling/changeling.dm 46](git.png)
Any additional modifiers triggered by changelings that modify the chem_recharge_rate.
chosen_sting ![code/modules/antagonists/changeling/changeling.dm 66](git.png)
The currently active changeling sting.
competitive_objectives ![code/modules/antagonists/changeling/changeling.dm 22](git.png)
Weather we assign objectives which compete with other lings
current_profile ![code/modules/antagonists/changeling/changeling.dm 109](git.png)
Keeps track of the currently selected profile.
dna_max ![code/modules/antagonists/changeling/changeling.dm 34](git.png)
How many DNA strands the changeling can store for transformation.
emporium_action ![code/modules/antagonists/changeling/changeling.dm 70](git.png)
A reference to our cellular emporium action (which opens the UI for the datum).
first_profile ![code/modules/antagonists/changeling/changeling.dm 32](git.png)
The original profile of this changeling.
genetic_points ![code/modules/antagonists/changeling/changeling.dm 52](git.png)
The number of genetics points (to buy powers) this ling currently has.
give_objectives ![code/modules/antagonists/changeling/changeling.dm 20](git.png)
Whether to give this changeling objectives or not
hive_name ![code/modules/antagonists/changeling/changeling.dm 78](git.png)
The name of our "hive" that our ling came from. Flavor.
innate_powers ![code/modules/antagonists/changeling/changeling.dm 56](git.png)
List of all powers we start with.
lingchemdisplay ![code/modules/antagonists/changeling/changeling.dm 73](git.png)
UI displaying how many chems we have
lingstingdisplay ![code/modules/antagonists/changeling/changeling.dm 75](git.png)
UI displayng our currently active sting
mimicing ![code/modules/antagonists/changeling/changeling.dm 61](git.png)
The voice we're mimicing via the changeling voice ability.
possible_changeling_IDs ![code/modules/antagonists/changeling/changeling.dm 84](git.png)
Static list of possible ids. Initialized into the greek alphabet the first time it is used
purchased_powers ![code/modules/antagonists/changeling/changeling.dm 58](git.png)
Associated list of all powers we have evolved / bought from the emporium. [path] = [instance of path]
slot2type ![code/modules/antagonists/changeling/changeling.dm 87](git.png)
Satic list of what each slot associated with (in regard to changeling flesh items).
sting_range ![code/modules/antagonists/changeling/changeling.dm 48](git.png)
The range this ling can sting things.
stolen_memories ![code/modules/antagonists/changeling/changeling.dm 104](git.png)
A list of all memories we've stolen through absorbs.
stored_profiles ![code/modules/antagonists/changeling/changeling.dm 30](git.png)
list of datum/changeling_profile
total_chem_storage ![code/modules/antagonists/changeling/changeling.dm 42](git.png)
The max chemical storage the changeling currently has.
total_genetic_points ![code/modules/antagonists/changeling/changeling.dm 54](git.png)
The max number of genetics points (to buy powers) this ling can have..
true_absorbs ![code/modules/antagonists/changeling/changeling.dm 38](git.png)
The amount of DMA gained using absorb, not DNA sting. Start with one (your original DNA)
Proc Details
check_menu
Checks if we are allowed to interact with a radial menu
Arguments:
- user The carbon mob interacting with the menu
give_power
Gives a passed changeling power datum to the player
Is passed a path to a changeling power, and applies it to the user. If successful, we return TRUE, otherwise not.
Arguments:
- power_path - The path of the power we will be giving to our attached player.
on_click_sting
Signal proc for COMSIG_MOB_MIDDLECLICKON and COMSIG_MOB_ALTCLICKON. Allows the changeling to sting people with a click.
on_fullhealed
Signal proc for COMSIG_LIVING_POST_FULLY_HEAL
on_life
Signal proc for COMSIG_LIVING_LIFE. Handles regenerating chemicals on life ticks.
select_dna
Gives a changeling a list of all possible dnas in their profiles to choose from and returns profile containing their chosen dna