changeling
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
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)
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