From Brotato Wiki

(INITIAL \o/)
 
(add more stuff)
Line 5: Line 5:
This table doesn't fully explain how to use these effects. Please view their items/characters/weapons for usage.
This table doesn't fully explain how to use these effects. Please view their items/characters/weapons for usage.


== Item Effects ==
The headings separate the files by their location, but effects can often be applied to things outside of that heading, eg. my effects in {{Color|color=cream|text=res://effects/items/*.gd}} are applied to characters too.
 
==Item Effects==
Despite the heading, these effects can actually be used by characters and weapons too. They're just stored in ''effects/items''.
Despite the heading, these effects can actually be used by characters and weapons too. They're just stored in ''effects/items''.
{| class="wikitable"
{| class="wikitable"
Line 16: Line 18:
|-
|-
|effect
|effect
|<small>{{Color|color=cream|text=Stat key, eg:}} <code>stat_max_hp</code></small>
|<small>{{Color|color=cream|text=Effect key, eg:}} <code>stat_max_hp</code> / <code>bounce</code></small>
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=cream|text=many}}</small>''
|''<small>{{Color|color=cream|text=many}}</small>''
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|alien_eyes_effect
|alien_eyes_effect
|<code><small>alien_eyes</small></code>
|<code><small>alien_eyes</small></code>
|<code><small>effect_alien_eyes</small></code>
|<code><small>effect_alien_eyes</small></code>
|Alien Eyes
|<small>Alien Eyes</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|burn_chance_effect
|burn_chance_effect
|<code><small>burn_chance</small></code>
|<code><small>burn_chance</small></code>
|<code><small>effect_burn_chance</small></code>
|<code><small>effect_burn_chance</small></code>
|Scared Sausage
|<small>Scared Sausage</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|class_bonus_effect
|class_bonus_effect
|<code><small>effect_weapon_class_bonus</small></code>
|<code><small>effect_weapon_class_bonus</small></code>
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
| -
|<small>-</small>
|Brawler, Crazy, Doctor,
|<small>Brawler, Crazy, Doctor,</small>


Ghost, Wildling
<small>Ghost, Wildling</small>
| -
|<small>-</small>
|-
|-
|convert_stat_effect
|convert_stat_effect
|<code><small>materials</small></code>
|<code><small>materials</small></code>
|<code><small>effect_convert_stat_end_of_wave</small></code>
|<code><small>effect_convert_stat_end_of_wave</small></code>
| -
|<small>-</small>
|Demon
| <small>Demon</small>
| -
|<small>-</small>
|-
|-
|dmg_when_death_effect
|dmg_when_death_effect
|<code><small>dmg_when_death_from_luck</small></code>
|<code><small>dmg_when_death_from_luck</small></code>
|<code><small>effect_deal_dmg_when_death</small></code>
|<code><small>effect_deal_dmg_when_death</small></code>
|Cyberball
|<small>Cyberball</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|dmg_when_pickup_gold_effect
|dmg_when_pickup_gold_effect
|<code><small>dmg_when_pickup_gold_from_luck</small></code>
|<code><small>dmg_when_pickup_gold_from_luck</small></code>
|<code><small>effect_deal_dmg_when_pickup_gold</small></code>
|<code><small>effect_deal_dmg_when_pickup_gold</small></code>
|Baby Elephant
|<small>Baby Elephant</small>
|Lucky
|<small>Lucky</small>
| -
|<small>-</small>
|-
|-
|gain_stat_for_every_stat_effect
|gain_stat_for_every_stat_effect
|<small>{{Color|color=cream|text=Stat key, eg:}} <code>stat_max_hp</code></small>
|<small>{{Color|color=cream|text=Effect key, eg:}} <code>stat_max_hp</code> / <code>bounce</code></small>
|''<small>{{Color|color=cream|text=many}}</small>''
|''<small>{{Color|color=cream|text=many}}</small>''
| -
|<small>-</small>
|Artificer, Chunky, Generalist,
|<small>Artificer, Chunky, Generalist,</small>


Hunter, Knight, Saver, Speedy
<small>Hunter, Knight, Saver, Speedy</small>
| -
|<small>-</small>
|-
|-
|gain_stat_for_every_stat_effect
|gain_stat_for_every_stat_effect
|<code><small>stat_attack_speed</small></code>
|<code><small>stat_attack_speed</small></code>
|<code><small>effect_gain_stat_for_every_enemy</small></code>
|<code><small>effect_gain_stat_for_every_enemy</small></code>
|Community Support
|<small>Community Support</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|gain_stat_for_every_stat_effect
| gain_stat_for_every_stat_effect
|<code><small>stat_hp_regeneration</small></code>
|<code><small>stat_hp_regeneration</small></code>
|<code><small>effect_gain_stat_for_every_perm_stat</small></code>
|<code><small>effect_gain_stat_for_every_perm_stat</small></code>
|Esty's Couch
|<small>Esty's Couch</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|gain_stat_for_every_stat_effect
|gain_stat_for_every_stat_effect
|<code><small>stat_max_hp</small></code>
|<code><small>stat_max_hp</small></code>
|<code><small>effect_gain_stat_for_every_stat</small></code>
|<code><small>effect_gain_stat_for_every_stat</small></code>
|Padding
|<small>Padding</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|gain_stat_for_every_stat_effect
|gain_stat_for_every_stat_effect
|<code><small>stat_percent_damage</small></code>
|<code><small>stat_percent_damage</small></code>
|<code><small>effect_gain_stat_for_every_perm_stat</small></code>
|<code><small>effect_gain_stat_for_every_perm_stat</small></code>
|Power Generator
|<small>Power Generator</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|gain_stat_for_every_stat_effect
|gain_stat_for_every_stat_effect
|<code><small>stat_attack_speed</small></code>
|<code><small>stat_attack_speed</small></code>
|<code><small>effect_gain_stat_for_every_stat</small></code>
|<code><small>effect_gain_stat_for_every_stat</small></code>
|Retromations Hoodie
|<small>Retromations Hoodie</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|gain_stat_for_every_stat_effect
|gain_stat_for_every_stat_effect
|<code><small>stat_engineering</small></code>
|<code><small>stat_engineering</small></code>
|<code><small>effect_gain_stat_for_every_stat</small></code>
|<code><small>effect_gain_stat_for_every_stat</small></code>
|Strange Book
|<small>Strange Book</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|healing_effect
|healing_effect
|<code><small>effect_heal</small></code>
|<code><small>effect_heal</small></code>
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
| -
|<small>-</small>
| -
|<small>-</small>
|Fruit, LegendaryBox
|<small>Fruit, LegendaryBox</small>
|-
|-
|hp_cap_effect
|hp_cap_effect
|<code><small>hp_cap</small></code>
|<code><small>hp_cap</small></code>
|<code><small>effect_hp_cap_at_current_value</small></code>
|<code><small>effect_hp_cap_at_current_value</small></code>
|Handcuffs
|<small>Handcuffs</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|item_exploding_effect
|item_exploding_effect
|<code><small>explode_on_hit</small></code>
|<code><small>explode_on_hit</small></code>
|<code><small>effect_explode_on_hit</small></code>
|<code><small>effect_explode_on_hit</small></code>
| -
|<small>-</small>
|Bull
|<small>Bull</small>
| -
|<small>-</small>
|-
|-
|item_exploding_effect
|item_exploding_effect
|<code><small>explode_on_death</small></code>
|<code><small>explode_on_death</small></code>
|<code><small>effect_explode_on_death</small></code>
|<code><small>effect_explode_on_death</small></code>
|Landmine
|<small>Landmine</small>
Rip and Tear
<small>Rip and Tear</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|pacifist_effect
|pacifist_effect
|<code><small>pacifist</small></code>
|<code><small>pacifist</small></code>
|<code><small>effect_pacifist</small></code>
|<code><small>effect_pacifist</small></code>
| -
|<small>-</small>
|Pacifist
|<small>Pacifist</small>
| -
|<small>-</small>
|-
|-
|projectile_effect
|projectile_effect
|<code><small>projectiles_on_death</small></code>
|<code><small>projectiles_on_death</small></code>
|<code><small>effect_projectiles_on_death</small></code>
|<code><small>effect_projectiles_on_death</small></code>  
|Baby with a Beard
|<small>Baby with a Beard</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|remove_speed_effect
|remove_speed_effect
|<code><small>remove_speed</small></code>
|<code><small>remove_speed</small></code>
|<code><small>effect_remove_speed</small></code>
|<code><small>effect_remove_speed</small></code>
|Ugly Tooth
|<small>Ugly Tooth</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|replace_effect
|replace_effect
|<code><small>double_hp_regen_below_half_health</small></code>
|<code><small>double_hp_regen_below_half_health</small></code>
|<code><small>effect_double_hp_regen_below_half_health</small></code>
|<code><small>effect_double_hp_regen_below_half_health</small></code>
|Potion
|<small>Potion</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|replace_effect
|replace_effect
|<code><small>minimum_weapons_in_shop</small></code>
|<code><small>minimum_weapons_in_shop</small></code>
|<code><small>effect_minimum_weapon_in_shop</small></code>
|<code><small>effect_minimum_weapon_in_shop</small></code>
| -
|<small>-</small>
|Arms Dealer
|<small>Arms Dealer</small>
| -
|<small>-</small>
|-
|-
|replace_effect
|replace_effect
|<code><small>weapon_slot</small></code>
|<code><small>weapon_slot</small></code>
|<code><small>effect_no_weapons</small></code>
|<code><small>effect_no_weapons</small></code>
| -
|<small>-</small>
|Bull
|<small>Bull</small>
| -
|<small>-</small>
|-
|-
|replace_effect
|replace_effect
|<code><small>hp_shop</small></code>
|<code><small>hp_shop</small></code>
|<code><small>effect_hp_shop</small></code>
|<code><small>effect_hp_shop</small></code>
| -
|<small>-</small>
|Demon
|<small>Demon</small>
| -
|<small>-</small>
|-
|-
|replace_effect
|replace_effect
|<code><small>trees_start_wave</small></code>
|<code><small>trees_start_wave</small></code>
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
| -
|<small>-</small>
|Explorer
|<small>Explorer</small>
| -
|<small>-</small>
|-
|-
|replace_effect
|replace_effect
|<code><small>max_melee_weapons</small></code>
|<code><small>max_melee_weapons</small></code>
|<code><small>effect_generalist</small></code>
|<code><small>effect_generalist</small></code>
| -
|<small>-</small>
|Generalist
|<small>Generalist</small>
| -
|<small>-</small>
|-
|-
|replace_effect
|replace_effect
|<code><small>max_ranged_weapons</small></code>
|<code><small>max_ranged_weapons</small></code>
|<code><small>[EMPTY]</small></code>
|<code><small>[EMPTY]</small></code>
| -
|<small>-</small>
|Generalist
|<small>Generalist</small>
| -
|<small>-</small>
|-
|-
|replace_effect
|replace_effect
|<code><small>dodge_cap</small></code>
|<code><small>dodge_cap</small></code>
|<code><small>effect_dodge_cap</small></code>
|<code><small>effect_dodge_cap</small></code>
| -
|<small>-</small>
|Ghost
|<small>Ghost</small>
| -
|<small>-</small>
|-
|-
|replace_effect
|replace_effect
|<code><small>weapon_slot</small></code>
|<code><small>weapon_slot</small></code>
|<code><small>effect_max_weapons</small></code>
|<code><small>effect_max_weapons</small></code>
| -
|<small>-</small>
|Multitasker
| <small>Multitasker</small>
| -
|<small>-</small>
|-
|-
|replace_effect
|replace_effect
|<code><small>can_attack_while_moving</small></code>
|<code><small>can_attack_while_moving</small></code>
|<code><small>effect_cant_attack_while_moving</small></code>
|<code><small>effect_cant_attack_while_moving</small></code>
| -
|<small>-</small>
|Soldier
|<small>Soldier</small>
| -
|<small>-</small>
|-
|-
|replace_effect
|replace_effect
|<code><small>double_boss</small></code>
|<code><small>double_boss</small></code>
|<code><small>effect_double_boss</small></code>
|<code><small>effect_double_boss</small></code>
| -
|<small>-</small>
| -
|<small>-</small>
|Danger5
|<small>Danger5</small>
|-
|-
|starting_item_effect
|starting_item_effect
|<code><small>starting_item</small></code>
|<code><small>starting_item</small></code>
|<code><small>effect_starting_item</small></code>
|<code><small>effect_starting_item</small></code>
| -
|<small>-</small>
|Brawler, Crazy, Engineer,
|<small>Brawler, Crazy, Engineer,</small>


Mage, Pacifist, Ranger,
<small>Mage, Pacifist, Ranger,</small>


Saver, Wildling
<small>Saver, Wildling</small>
| -
|<small>-</small>
|-
|-
|stat_effect
|stat_effect
|<code><small>stat_armor</small></code>
|<code><small>stat_armor</small></code>
|<code><small>effect_stat_while_not_moving</small></code>
|<code><small>effect_stat_while_not_moving</small></code>
|Barricade
|<small>Barricade</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|stat_effect
|stat_effect
|<code><small>stat_dodge</small></code>
|<code><small>stat_dodge</small></code>
|<code><small>effect_stat_while_not_moving</small></code>
|<code><small>effect_stat_while_not_moving</small></code>
|Chameleon
|<small>Chameleon</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|stat_effect
|stat_effect
|<code><small>gold_on_crit_kill</small></code>
|<code><small>gold_on_crit_kill</small></code>
|<code><small>effect_gold_on_crit_kill</small></code>
|<code><small>effect_gold_on_crit_kill</small></code>
|Hunting Trophy
|<small>Hunting Trophy</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|stat_effect
|stat_effect
|<code><small>stat_attack_speed</small></code>
|<code><small>stat_attack_speed</small></code>
|<code><small>effect_stat_while_not_moving</small></code>
|<code><small>effect_stat_while_not_moving</small></code>
|Statue
|<small>Statue</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|stat_effect
|stat_effect
|<code><small>stat_percent_damage</small></code>
|<code><small>stat_percent_damage</small></code>
|<code><small>effect_on_hit</small></code>
|<code><small>effect_on_hit</small></code>
|Triangle of Power
|<small>Triangle of Power</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|stat_effect
|stat_effect
|<code><small>stat_percent_damage</small></code>
|<code><small>stat_percent_damage</small></code>
|<code><small>effect_gain_stat_end_of_wave</small></code>
|<code><small>effect_gain_stat_end_of_wave</small></code>
|Vigilante Ring
|<small>Vigilante Ring</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|stat_effect
|stat_effect
|<code><small>stat_percent_damage</small></code>
|<code><small>stat_percent_damage</small></code>
|<code><small>effect_stack_stat</small></code>
|<code><small>effect_stack_stat</small></code>
|Wisdom
|<small>Wisdom</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|stat_effect
|stat_effect
|<code><small>stat_max_hp</small></code>
|<code><small>stat_max_hp</small></code>
|<code><small>effect_gain_stat_end_of_wave</small></code>
|<code><small>effect_gain_stat_end_of_wave</small></code>
|Grind's Magical Leaf
|<small>Grind's Magical Leaf</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|stat_effect
|stat_effect  
|<code><small>stat_hp_regeneration</small></code>
|<code><small>stat_hp_regeneration</small></code>
|<code><small>effect_gain_stat_end_of_wave</small></code>
|<code><small>effect_gain_stat_end_of_wave</small></code>
|Grind's Magical Leaf
|<small>Grind's Magical Leaf</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|stat_effect
|stat_effect
|<code><small>stat_lifesteal</small></code>
|<code><small>stat_lifesteal</small></code>
|<code><small>effect_gain_stat_end_of_wave</small></code>
|<code><small>effect_gain_stat_end_of_wave</small></code>
|Grind's Magical Leaf
|<small>Grind's Magical Leaf</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|stat_gains_modification_effect
|stat_gains_modification_effect  
|<code><small>effect_increase_stat_gains</small></code>
| <code><small>effect_increase_stat_gains</small></code>
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
| -
|<small>-</small>
|Many
|<small>Many</small>
| -
|<small>-</small>
|-
|-
|stat_gains_modification_effect
|stat_gains_modification_effect
|<code><small>effect_reduce_stat_gains</small></code>
|<code><small>effect_reduce_stat_gains</small></code>
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
| -
| <small>-</small>
|Many
|<small>Many</small>
| -
|<small>-</small>
|-
|-
|structure_effect
|structure_effect
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
|<code>effect_landmines</code>
|<code>effect_landmines</code>
|Landmines
|<small>Landmines</small>
| -
|<small>-</small>
|Screwdriver
|<small>Screwdriver</small>
|-
|-
|tier_effect
|tier_effect  
|<code>min_weapon_tier</code>
|<code>min_weapon_tier</code>
|<code>effect_min_weapon_tier</code>
|<code>effect_min_weapon_tier</code>
| -
|<small>-</small>
|Knight
|<small>Knight</small>
| -
|<small>-</small>
|-
|-
|tier_effect
|tier_effect
|<code>max_weapon_tier</code>
|<code>max_weapon_tier</code>
|<code>effect_max_weapon_tier</code>
|<code>effect_max_weapon_tier</code>
| -
|<small>-</small>
|Wildling
|<small>Wildling</small>
| -
|<small>-</small>
|-
|-
|turret_effect
|turret_effect
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''  
|<code>effect_turret</code>
|<code>effect_turret</code>
|Turret
|<small>Turret</small>
| -
|<small>-</small>
|Wrench
|<small>Wrench</small>
|-
|-
|turret_effect
|turret_effect
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
|<code>effect_turret_healing</code>
|<code>effect_turret_healing</code>
|Healing Turret
|<small>Healing Turret</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|turret_effect
|turret_effect
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
|<code>effect_turret_laser</code>
|<code>effect_turret_laser</code>
|Laser Turret
|<small>Laser Turret</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|turret_effect
|turret_effect
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
|<code>effect_turret_rocket</code>
|<code>effect_turret_rocket</code>
|Rocket Turret
|<small>Rocket Turret</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|turret_effect
|turret_effect
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
|<code>effect_tyler</code>
|<code>effect_tyler</code>
|Tyler (Turret)
|<small>Tyler (Turret)</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|turret_effect
|turret_effect
|<code>wandering_bot</code>
|<code>wandering_bot</code>
|<code>effect_wandering_bot</code>
|<code>effect_wandering_bot</code>
|Wandering Bot
|<small>Wandering Bot</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|turret_flame_effect
|turret_flame_effect
|''<small>{{Color|color=grey|text=not specified}}</small>''
|''<small>{{Color|color=grey|text=not specified}}</small>''
|<code>effect_turret_flame</code>
|<code>effect_turret_flame</code>
|Flame Turret
|<small>Flame Turret</small>
| -
|<small>-</small>
|Wrench (Tier2)
|<small>Wrench (Tier2)</small>
|-
|-
|unique_weapon_effect
|unique_weapon_effect
|<code>stat_attack_speed</code>
|<code>stat_attack_speed</code>
|<code>effect_unique_weapon_bonus</code>
|<code>effect_unique_weapon_bonus</code>
|Focus
|<small>Focus</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|unique_weapon_effect
|unique_weapon_effect
|<code>stat_attack_speed</code>
|<code>stat_attack_speed</code>
|<code>effect_unique_weapon_bonus</code>
|<code>effect_unique_weapon_bonus</code>
|Spider
|<small>Spider</small>
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|weapon_bonus_effect
|weapon_bonus_effect
|''<small>{{Color|color=grey|text=???}}</small>''
|''<small>{{Color|color=grey|text=???}}</small>''
|''<small>{{Color|color=grey|text=???}}</small>''
|''<small>{{Color|color=grey|text=???}}</small>''
|''{{Color|color=pastelred|text=unused}}''
|''<small>{{Color|color=pastelred|text=unused}}</small>''
| -
|<small>-</small>
| -
|<small>-</small>
|-
|-
|weapon_gain_effect
|weapon_gain_effect
|''<small>{{Color|color=grey|text=???}}</small>''
|''<small>{{Color|color=grey|text=???}}</small>''
|''<small>{{Color|color=grey|text=???}}</small>''
|''<small>{{Color|color=grey|text=???}}</small>''
|''{{Color|color=pastelred|text=unused}}''
|''<small>{{Color|color=pastelred|text=unused}}</small>''
|
|
| -
|<small>-</small>
|}
|}


== Weapon Effects ==
==Weapon Effects==
Like Item Effects above, some of these can be used by items/characters.
Like Item Effects above, some of these can be used by items/characters.
{| class="wikitable"
{| class="wikitable"
Line 447: Line 449:
|burning_effect
|burning_effect
|<code><small>effect_burning</small></code>
|<code><small>effect_burning</small></code>
|Flame Turret, Flaming Knuckles, Torch, Flamethrower, Wand
|<small>Flame Turret, Flaming Knuckles, Torch, Flamethrower, Wand</small>
|-
|-
|exploding_effect
|exploding_effect
|<code><small>effect_explode_melee</small></code>
|<code><small>effect_explode_melee</small></code>
|Plank, Plasma Sledgehammer, Power Fist, Nuclear Launcher, Shredder
|<small>Plank, Plasma Sledgehammer, Power Fist, Nuclear Launcher, Shredder</small>
|-
|-
|gain_stat_every_killed_enemies_effect
|gain_stat_every_killed_enemies_effect
|<code><small>effect_gain_stat_every_killed_enemies</small></code>
|<code><small>effect_gain_stat_every_killed_enemies</small></code>
|Ghost Axe, Ghost Flint, Ghost Scepter
|<small>Ghost Axe, Ghost Flint, Ghost Scepter</small>
|-
|-
|null_effect
|null_effect
|<code><small>effect_no_modifiers</small></code>
|<code><small>effect_no_modifiers</small></code>
|Danger 0
|<small>Danger 0</small>
|-
|-
|null_effect
|null_effect
|<code><small>effect_new_enemies</small></code>
|<code><small>effect_new_enemies</small></code>
|Danger 1 (and above)
|<small>Danger 1 (and above)</small>
|-
|-
|null_effect
|null_effect
|<code><small>effect_elites</small></code>
|<code><small>effect_elites</small></code>
|Danger 2 (and above)
|<small>Danger 2 (and above)</small>
|-
|-
|null_effect
|null_effect
|<code><small>effect_more_elites</small></code>
|<code><small>effect_more_elites</small></code>
|Danger 4 (and above)
|<small>Danger 4 (and above)</small>
|-
|-
|projectiles_on_hit_effect
|projectiles_on_hit_effect
|<code><small>effect_projectiles_on_hit</small></code>
|<code><small>effect_projectiles_on_hit</small></code>
|Cactus Mace, Sniper Gun
|<small>Cactus Mace, Sniper Gun</small>
|-
|-
|projectiles_on_hit_effect
|projectiles_on_hit_effect
|<code><small>effect_lightning_on_hit</small></code>
|<code><small>effect_lightning_on_hit</small></code>
|Lightning Shiv
|<small>Lightning Shiv</small>
|-
|-
|projectiles_on_hit_effect
|projectiles_on_hit_effect
|<code><small>effect_slow_projectiles_on_hit</small></code>
|<code><small>effect_slow_projectiles_on_hit</small></code>
|Thunder Sword
|<small>Thunder Sword</small>
|-
|-
|slow_in_zone_effect
|slow_in_zone_effect
|<code><small>effect_slow_in_zone</small></code>
|<code><small>effect_slow_in_zone</small></code>
|Taser
|<small>Taser</small>
|-
|-
|weapon_stack_effect
|weapon_stack_effect
|<code><small>effect_weapon_stack</small></code>
|<code><small>effect_weapon_stack</small></code>
|Stick
|<small>Stick</small>
|}
 
==All Effect Keys==
List of all the effect keys. Many of these can be applied with {{Color|color=cream|text=effect.gd}} ({{Color|color=cream|text=res://items/global/effect.gd}}).
 
See [[Stats#Secondary Stats|Stats > Secondary Stats]] for a list of the items these effects can apply to.
 
=== Primary Stats ===
 
{| class="wikitable"
!Effect Key
!Notes
|-
|<code>stat_max_hp</code>
|{{StatIcon|Max HP|text=1}}
|-
|<code>stat_hp_regeneration</code>
|{{StatIcon|HP Regeneration|text=1}}
|-
|<code>stat_lifesteal</code>
|{{StatIcon|Lifesteal|text=1}}
|-
|<code>stat_percent_damage</code>
|{{StatIcon|Damage|text=1}}
|-
|<code>stat_melee_damage</code>
|{{StatIcon|Melee Damage|text=1}}
|-
|<code>stat_ranged_damage</code>
|{{StatIcon|Ranged Damage|text=1}}
|-
|<code>stat_elemental_damage</code>
|{{StatIcon|Elemental Damage|text=1}}
|-
|<code>stat_attack_speed</code>
|{{StatIcon|Attack Speed|text=1}}
|-
|<code>stat_crit_chance</code>
|{{StatIcon|Crit Chance|text=1}}
|-
|<code>stat_engineering</code>
|{{StatIcon|Engineering|text=1}}
|-
|<code>stat_range</code>
|{{StatIcon|Range|text=1}}
|-
|<code>stat_armor</code>
|{{StatIcon|Armor|text=1}}
|-
|<code>stat_dodge</code>
|{{StatIcon|Dodge|text=1}}
|-
|<code>stat_speed</code>
|{{StatIcon|Speed|text=1}}
|-
|<code>stat_luck</code>
|{{StatIcon|Luck|text=1}}
|-
|<code>stat_harvesting</code>
|{{StatIcon|Harvesting|text=1}}
|}
 
=== Misc ===
 
{| class="wikitable"
!Effect Key
!Notes
|-
|additional_weapon_effects
|
|-
|alien_eyes
|
|-
|boss_strength
|
|-
|bounce
|
|-
|bounce_damage
|
|-
|burn_chance
|
|-
|burning_cooldown_reduction
|
|-
|burning_spread
|
|-
|can_attack_while_moving
|
|-
|cant_stop_moving
|
|-
|chance_double_gold
|
|-
|consumable_heal
|
|-
|convert_stats_end_of_wave
|
|-
|diff_gold_drops
|
|-
|dmg_when_death_from_luck
|
|-
|dmg_when_pickup_gold_from_luck
|
|-
|dodge_cap
|
|-
|double_boss
|
|-
|double_hp_regen
|
|-
|enemy_gold_drops
|
|-
|enemy_speed
|
|-
|enemy_speed
|
|-
|enemy_strength
|
|-
|explode_on_death
|
|-
|explode_on_hit
|
|-
|explosion_damage
|
|-
|explosion_size
|
|-
|free_rerolls
|
|-
|gain_bounce_damage
|
|-
|gain_explosion_damage
|
|-
|gain_pct_gold_start_wave
|
|-
|gain_piercing_damage
|
|-
|gambler
|
|-
|gold_drops
|
|-
|gold_on_crit_kill
|
|-
|group_structures
|
|-
|harvesting_growth
|
|-
|heal_when_pickup_gold
|
|-
|hp_cap
|
|-
|hp_shop
|
|-
|hp_start_next_wave
|
|-
|hp_start_wave
|
|-
|inflation
|
|-
|instant_gold_attracting
|
|-
|item_box_gold
|
|-
|items_price
|
|-
|knockback
|
|-
|leave_burning
|
|-
|lose_hp_per_second
|
|-
|map_size
|
|-
|max_melee_weapons
|
|-
|max_ranged_weapons
|
|-
|max_weapon_tier
|
|-
|min_weapon_tier
|
|-
|neutral_gold_drops
|
|-
|no_melee_weapons
|
|-
|no_min_range
|
|-
|no_ranged_weapons
|
|-
|number_of_enemies
|
|-
|one_shot_trees
|
|-
|pacifist
|
|-
|pickup_range
|
|-
|piercing
|
|-
|piercing_damage
|
|-
|projectiles_on_death
|
|-
|recycling_gains
|
|-
|remove_speed
|
|-
|starting_item
|
|-
|stat_links
|
|-
|stats_end_of_wave
|
|-
|structures
|
|-
|temp_stats_on_hit
|
|-
|temp_stats_stacking
|
|-
|temp_stats_while_not_moving
|
|-
|torture
|
|-
|trees
|
|-
|trees_start_wave
|
|-
|unique_weapon_effects
|
|-
|wandering_bots
|
|-
|weapon_bonus
|
|-
|weapon_class_bonus
|
|-
|weapon_slot
|
|-
|xp_gain
|
|}
|}

Revision as of 17:13, 14 December 2022

< Back to Modding

This page documents the various effects in the vanilla game. Modders can apply these effects to their custom content.

This table doesn't fully explain how to use these effects. Please view their items/characters/weapons for usage.

The headings separate the files by their location, but effects can often be applied to things outside of that heading, eg. my effects in res://effects/items/*.gd are applied to characters too.

Item Effects

Despite the heading, these effects can actually be used by characters and weapons too. They're just stored in effects/items.

Effect File (*.gd) key text_key Items Characters Misc
effect Effect key, eg: stat_max_hp / bounce not specified many - -
alien_eyes_effect alien_eyes effect_alien_eyes Alien Eyes - -
burn_chance_effect burn_chance effect_burn_chance Scared Sausage - -
class_bonus_effect effect_weapon_class_bonus not specified - Brawler, Crazy, Doctor,

Ghost, Wildling

-
convert_stat_effect materials effect_convert_stat_end_of_wave - Demon -
dmg_when_death_effect dmg_when_death_from_luck effect_deal_dmg_when_death Cyberball - -
dmg_when_pickup_gold_effect dmg_when_pickup_gold_from_luck effect_deal_dmg_when_pickup_gold Baby Elephant Lucky -
gain_stat_for_every_stat_effect Effect key, eg: stat_max_hp / bounce many - Artificer, Chunky, Generalist,

Hunter, Knight, Saver, Speedy

-
gain_stat_for_every_stat_effect stat_attack_speed effect_gain_stat_for_every_enemy Community Support - -
gain_stat_for_every_stat_effect stat_hp_regeneration effect_gain_stat_for_every_perm_stat Esty's Couch - -
gain_stat_for_every_stat_effect stat_max_hp effect_gain_stat_for_every_stat Padding - -
gain_stat_for_every_stat_effect stat_percent_damage effect_gain_stat_for_every_perm_stat Power Generator - -
gain_stat_for_every_stat_effect stat_attack_speed effect_gain_stat_for_every_stat Retromations Hoodie - -
gain_stat_for_every_stat_effect stat_engineering effect_gain_stat_for_every_stat Strange Book - -
healing_effect effect_heal not specified - - Fruit, LegendaryBox
hp_cap_effect hp_cap effect_hp_cap_at_current_value Handcuffs - -
item_exploding_effect explode_on_hit effect_explode_on_hit - Bull -
item_exploding_effect explode_on_death effect_explode_on_death Landmine

Rip and Tear

- -
pacifist_effect pacifist effect_pacifist - Pacifist -
projectile_effect projectiles_on_death effect_projectiles_on_death Baby with a Beard - -
remove_speed_effect remove_speed effect_remove_speed Ugly Tooth - -
replace_effect double_hp_regen_below_half_health effect_double_hp_regen_below_half_health Potion - -
replace_effect minimum_weapons_in_shop effect_minimum_weapon_in_shop - Arms Dealer -
replace_effect weapon_slot effect_no_weapons - Bull -
replace_effect hp_shop effect_hp_shop - Demon -
replace_effect trees_start_wave not specified - Explorer -
replace_effect max_melee_weapons effect_generalist - Generalist -
replace_effect max_ranged_weapons [EMPTY] - Generalist -
replace_effect dodge_cap effect_dodge_cap - Ghost -
replace_effect weapon_slot effect_max_weapons - Multitasker -
replace_effect can_attack_while_moving effect_cant_attack_while_moving - Soldier -
replace_effect double_boss effect_double_boss - - Danger5
starting_item_effect starting_item effect_starting_item - Brawler, Crazy, Engineer,

Mage, Pacifist, Ranger,

Saver, Wildling

-
stat_effect stat_armor effect_stat_while_not_moving Barricade - -
stat_effect stat_dodge effect_stat_while_not_moving Chameleon - -
stat_effect gold_on_crit_kill effect_gold_on_crit_kill Hunting Trophy - -
stat_effect stat_attack_speed effect_stat_while_not_moving Statue - -
stat_effect stat_percent_damage effect_on_hit Triangle of Power - -
stat_effect stat_percent_damage effect_gain_stat_end_of_wave Vigilante Ring - -
stat_effect stat_percent_damage effect_stack_stat Wisdom - -
stat_effect stat_max_hp effect_gain_stat_end_of_wave Grind's Magical Leaf - -
stat_effect stat_hp_regeneration effect_gain_stat_end_of_wave Grind's Magical Leaf - -
stat_effect stat_lifesteal effect_gain_stat_end_of_wave Grind's Magical Leaf - -
stat_gains_modification_effect effect_increase_stat_gains not specified - Many -
stat_gains_modification_effect effect_reduce_stat_gains not specified - Many -
structure_effect not specified effect_landmines Landmines - Screwdriver
tier_effect min_weapon_tier effect_min_weapon_tier - Knight -
tier_effect max_weapon_tier effect_max_weapon_tier - Wildling -
turret_effect not specified effect_turret Turret - Wrench
turret_effect not specified effect_turret_healing Healing Turret - -
turret_effect not specified effect_turret_laser Laser Turret - -
turret_effect not specified effect_turret_rocket Rocket Turret - -
turret_effect not specified effect_tyler Tyler (Turret) - -
turret_effect wandering_bot effect_wandering_bot Wandering Bot - -
turret_flame_effect not specified effect_turret_flame Flame Turret - Wrench (Tier2)
unique_weapon_effect stat_attack_speed effect_unique_weapon_bonus Focus - -
unique_weapon_effect stat_attack_speed effect_unique_weapon_bonus Spider - -
weapon_bonus_effect ??? ??? unused - -
weapon_gain_effect ??? ??? unused -

Weapon Effects

Like Item Effects above, some of these can be used by items/characters.

Effect File (*.gd) key Used By
burning_effect effect_burning Flame Turret, Flaming Knuckles, Torch, Flamethrower, Wand
exploding_effect effect_explode_melee Plank, Plasma Sledgehammer, Power Fist, Nuclear Launcher, Shredder
gain_stat_every_killed_enemies_effect effect_gain_stat_every_killed_enemies Ghost Axe, Ghost Flint, Ghost Scepter
null_effect effect_no_modifiers Danger 0
null_effect effect_new_enemies Danger 1 (and above)
null_effect effect_elites Danger 2 (and above)
null_effect effect_more_elites Danger 4 (and above)
projectiles_on_hit_effect effect_projectiles_on_hit Cactus Mace, Sniper Gun
projectiles_on_hit_effect effect_lightning_on_hit Lightning Shiv
projectiles_on_hit_effect effect_slow_projectiles_on_hit Thunder Sword
slow_in_zone_effect effect_slow_in_zone Taser
weapon_stack_effect effect_weapon_stack Stick

All Effect Keys

List of all the effect keys. Many of these can be applied with effect.gd (res://items/global/effect.gd).

See Stats > Secondary Stats for a list of the items these effects can apply to.

Primary Stats

Effect Key Notes
stat_max_hp Max HP.png Max HP
stat_hp_regeneration HP Regeneration.png HP Regeneration
stat_lifesteal Life Steal.png Life Steal
stat_percent_damage Damage.png Damage
stat_melee_damage Melee Damage.png Melee Damage
stat_ranged_damage Ranged Damage.png Ranged Damage
stat_elemental_damage Elemental Damage.png Elemental Damage
stat_attack_speed Attack Speed.png Attack Speed
stat_crit_chance Crit Chance.png Crit Chance
stat_engineering Engineering Stat.png Engineering
stat_range Range Stat.png Range
stat_armor Armor.png Armor
stat_dodge Dodge Stat.png Dodge
stat_speed Speed Stat.png Speed
stat_luck Luck.png Luck
stat_harvesting Harvesting.png Harvesting

Misc

Effect Key Notes
additional_weapon_effects
alien_eyes
boss_strength
bounce
bounce_damage
burn_chance
burning_cooldown_reduction
burning_spread
can_attack_while_moving
cant_stop_moving
chance_double_gold
consumable_heal
convert_stats_end_of_wave
diff_gold_drops
dmg_when_death_from_luck
dmg_when_pickup_gold_from_luck
dodge_cap
double_boss
double_hp_regen
enemy_gold_drops
enemy_speed
enemy_speed
enemy_strength
explode_on_death
explode_on_hit
explosion_damage
explosion_size
free_rerolls
gain_bounce_damage
gain_explosion_damage
gain_pct_gold_start_wave
gain_piercing_damage
gambler
gold_drops
gold_on_crit_kill
group_structures
harvesting_growth
heal_when_pickup_gold
hp_cap
hp_shop
hp_start_next_wave
hp_start_wave
inflation
instant_gold_attracting
item_box_gold
items_price
knockback
leave_burning
lose_hp_per_second
map_size
max_melee_weapons
max_ranged_weapons
max_weapon_tier
min_weapon_tier
neutral_gold_drops
no_melee_weapons
no_min_range
no_ranged_weapons
number_of_enemies
one_shot_trees
pacifist
pickup_range
piercing
piercing_damage
projectiles_on_death
recycling_gains
remove_speed
starting_item
stat_links
stats_end_of_wave
structures
temp_stats_on_hit
temp_stats_stacking
temp_stats_while_not_moving
torture
trees
trees_start_wave
unique_weapon_effects
wandering_bots
weapon_bonus
weapon_class_bonus
weapon_slot
xp_gain