Skip to content

Tables

This article will contain informations about tables.
They're found in the CODE block in UMT and usually start with gml_GlobalScript_table.
For more info on what those are see this article.

For the tool used to convert tables into .csv files for better readability / editing, see GML to CSV Converter.

Info

Unnamed:XX or nan in the table format section means the cell is empty.
It looks weird, but it's simply an issue with how we import tables in this documentation.
The actual gml table in your game will simply have empty cells at those locations.

Attribute descriptions with the ⚠ icon indicate untested, poorly understood or unknown behaviours.
No ⚠ icon doesn't automatically mean the description is accurate or correct.

As this is still a very early version of the documentation, errors can slip through, so feel free to contact maintainers or to edit this page yourself.


gml_GlobalScript_table_enemy_balance

gml_GlobalScript_table_enemy_balance

0.8.1.9

Content :
This table contains various stats about the enemies present in Stoneshard, including their level, weapon types, factions, hit chances, resistances and many others.

Table Format :

name LVL ID type faction pattern spawn_type weapon armor SU size matter EF Unnamed: 13 XP HP MP Head_DEF Body_DEF Arms_DEF Legs_DEF Unnamed: 21 Hit_Chance EVS PRR Block_Power Block_Recovery CRT CRTD CTA FMB Miscast_Chance Fortitude STL Health_Restoration MP_Restoration Cooldown_Reduction Knockback_Resistance Stun_Resistance Bleeding_Resistance Unnamed: 40 Bleeding_Chance Stun_Chance Daze_Chance Knockback_Chance Immob_Chance Stagger_Chance Unnamed: 47 STR AGL Vitality PRC WIL Unnamed: 53 Damage_Returned VIS Bonus_Range Lifesteal Manasteal Healing_Received Avoiding_Chance Unnamed: 61 Head Torso Left_Leg Right_Leg Left_Hand Right_Hand IP Pain_Resistance Morale Threat_Time Unnamed: 72 Bodypart_Damage Magic_Power Armor_Piercing Slashing_Damage Piercing_Damage Blunt_Damage Rending_Damage Fire_Damage Shock_Damage Poison_Damage Caustic_Damage Frost_Damage Arcane_Damage Unholy_Damage Sacred_Damage Psionic_Damage x Physical_Resistance Natural_Resistance Magical_Resistance x.1 Slashing_Resistance Piercing_Resistance Blunt_Resistance Rending_Resistance Fire_Resistance Shock_Resistance Poison_Resistance Caustic_Resistance Frost_Resistance Arcane_Resistance Unholy_Resistance Sacred_Resistance Psionic_Resistance x.2 canBlock canDisarm canSwim Swimming_Cost
Skeleton Swordsman 4 o_skeleton_swordsman undead Undead Melee Melee sword Light 9 medium bones 461 nan 70 65 40 nan 2 1 1 nan 70 nan 10 10 -5 nan nan nan 30 nan nan nan 0 6 35 nan 20 nan nan 10 nan nan nan nan nan nan 14 12 10 12 10 nan nan 6 nan nan nan nan nan nan 1 1 1 1 1 1 75 100 nan nan nan 5 nan 10 13 nan nan nan nan nan nan nan nan nan 2 nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan -50 nan nan 1 nan nan 2

Attributes :

Type Name Description
String name The name of the enemy.
Integer LVL The level of the enemy.
String ID The ID of the enemy.
String type The enemy type of the enemy.
String faction The faction the enemy belongs to.
String pattern The AI pattern for this enemy.
String spawn_type The type of spawn for the enemy.   ⚠
String weapon The type of weapon the enemy will spawn with.
String armor The type of armor the enemy will spawn with.
Integer SU Spawn weight for the enemy.
String size The size category for the enemy.
String matter The matter this enemy is mainly made out of.
Integer EF "Inner Calculating" according do a dev.   ⚠
Integer XP The amount of XP given when the enemy is killed.
Integer HP The amount of HP the enemy has.
Integer MP The amount of MP the enemy has.
Integer Head_DEF   ⚠
Integer Body_DEF   ⚠
Integer Arms_DEF   ⚠
Integer Legs_DEF   ⚠
Integer Hit_Chance The % of chance the enemy's attack have to hit.
Integer EVS The % of chance the enemy has to dodge an attack.
Integer PRR The % of chance the enemy has to block an attack.
Integer Block_Power The maximum amount of damage the enemy can block. Recovers each turn.
Integer Block_Recovery The amount of block power the enemy recovers each turn.
Integer CRT The % of chance the enemy has to deal a critical hit.
Integer CRTD The additional damage the enemy deals on a critical hit.   ⚠
Integer CTA The % of chance the enemy has to counterattack when hit.
Integer FMB The % of chance the enemy has to fumble an attack.
Integer Miscast_Chance The % of chance the enemy has to miscast a spell.
Integer Fortitude   ⚠
? STL Stealthiness of the enemy. Currently not implemented in the game.
Integer Health_Restoration Either the amount of health, the % of health or the chance for the enemy to recover health.   ⚠
Integer MP_Restoration Same as Health_Restoration.   ⚠
Integer Cooldown_Reduction   ⚠
Integer Knockback_Resistance   ⚠
Integer Stun_Resistance   ⚠
Integer Bleeding_Resistance   ⚠
Integer Bleeding_Chance   ⚠
Integer Stun_Chance   ⚠
Integer Daze_Chance   ⚠
Integer Knockback_Chance   ⚠
Integer Immob_Chance   ⚠
Integer Stagger_Chance   ⚠
Integer STR The Strength ability score of the enemy.
Integer AGL The Agility ability score of the enemy.
Integer Vitality The Vitality ability score of the enemy.
Integer PRC The Perception ability score of the enemy.
Integer WIL The Willpower ability score of the enemy.
Integer Damage_Returned The amount of damage dealt to the attacker when the enemy is attacked.
Integer VIS The vision range of the enemy.
Integer Bonus_Range   ⚠
Integer Lifesteal Either the flat amount, the amount %, or the chance of stealing health when the enemy attacks.   ⚠
Integer Manasteal Either the flat amount, the amount %, or the chance of stealing mana when the enemy attacks.   ⚠
Integer Healing_Received   ⚠
Integer Avoiding_Chance   ⚠
Integer Head The amount of heads the enemy has (leave empty if none)
Integer Torso The amount of torsos the enemy has (leave empty if none)
Integer Left_Leg The amount of left legs the enemy has (leave empty if none)
Integer Right_Leg The amount of right legs the enemy has (leave empty if none)
Integer Left_Hand The amount of left hands the enemy has (leave empty if none)
Integer Right_Hand The amount of right hands the enemy has (leave empty if none)
Integer IP Injury Protection, the % of chance to not produce an injury when hit.
Integer Pain_Resistance   ⚠
Integer Morale   ⚠
Integer Threat_Time The amount of time animals stay threatened before becoming hostile.
Integer Bodypart_Damage The % of damage this enemy deals to bodyparts when attacking.
Integer Magic_Power The damage effectiveness of the enemy's spells.
Integer Armor_Piercing The % of the damage that will ignore armor.
Integer Slashing_Damage The amount of slashing damage the enemy's attacks deal.
Integer Piercing_Damage The amount of piercing damage the enemy's attacks deal.
Integer Blunt_Damage The amount of blunt damage the enemy's attacks deal.
Integer Rending_Damage The amount of rending damage the enemy's attacks deal.
Integer Fire_Damage The amount of fire damage the enemy's attacks deal.
Integer Shock_Damage The amount of shock damage the enemy's attacks deal.
Integer Poison_Damage The amount of poison damage the enemy's attacks deal.
Integer Caustic_Damage The amount of caustic damage the enemy's attacks deal.
Integer Frost_Damage The amount of frost damage the enemy's attacks deal.
Integer Arcane_Damage The amount of arcane damage the enemy's attacks deal.
Integer Unholy_Damage The amount of unholy damage the enemy's attacks deal.
Integer Sacred_Damage The amount of sacred damage the enemy's attacks deal.
Integer Psionic_Damage The amount of psionic damage the enemy's attacks deal.
Integer Physical_Resistance The % of reduction for all the Physical Damage the enemy receives. (Slashing, Piercing, Crushing, Rending).
Integer Natural_Resistance The % of reduction for all the Nature Damage the enemy receives. (Fire, Frost, Shock, Poison, Caustic).
Integer Slashing_Resistance The % of reduction for all the Slashing Damage the enemy receives.
Integer Piercing_Resistance The % of reduction for all the Piercing Damage the enemy receives.
Integer Blunt_Resistance The % of reduction for all the Blunt Damage the enemy receives.
Integer Rending_Resistance The % of reduction for all the Rending Damage the enemy receives.
Integer Fire_Resistance The % of reduction for all the Fire Damage the enemy receives.
Integer Shock_Resistance The % of reduction for all the Shock Damage the enemy receives.
Integer Poison_Resistance The % of reduction for all the Poison Damage the enemy receives.
Integer Caustic_Resistance The % of reduction for all the Caustic Damage the enemy receives.
Integer Frost_Resistance The % of reduction for all the Frost Damage the enemy receives.
Integer Arcane_Resistance The % of reduction for all the Arcane Damage the enemy receives.
Integer Unholy_Resistance The % of reduction for all the Unholy Damage the enemy receives.
Integer Sacred_Resistance The % of reduction for all the Sacred Damage the enemy receives.
Integer Psionic_Resistance The % of reduction for all the Psionic Damage the enemy receives.
Integer canBlock Whether or not the enemy can block attacks. (1 for true, empty for false)
Integer canDisarm Whether or not the enemy can be disarmed. (1 for true, empty for false)
Integer canSwim Whether or not the enemy can swim. (1 for true, empty for false)
Integer Swimming_Cost The amount of MP this enemy uses for every tile travelled when swimming.
gml_GlobalScript_table_skills_stat

gml_GlobalScript_table_skills_stat

0.8.1.9

Content :
This table contains various stats about the skills in Stoneshard, like their cooldowns, buffs/debuffs durations, range, targetting method and more.

Table Format :

Unnamed: 0 Object Target Range KD MP Reserv Duration AOE_Lenght AOE_Width is_movement Pattern Class Bonus_Range Starcast Branch is_knockback Crime metacategory FMB AP Attack Stance Charge Maneuver Spell
Taking_Aim o_b_taking_aim No Target 0 1 4 0 1 0 0 0 normal skill 0 nan ranged 0 nan weapon 0 0 nan nan nan 1 nan

Attributes :

Type Name Description
String The skill's ID. Not to be confused with the skill's in-game name.
Note: Devs left this field unnamed for some reason...
String Object The gameobject associated with this skill.
String Target The targetting method for this skill.
Possible values : No Target, Target Object, Target Point, Target Area.
Integer Range The range this skill can be used at.
Special values : 0 for no range, range to use the weapon's range, vis to use the vision attribute.
Integer KD The cooldown for this skill in turns.
Integer MP The amount of energy used to use this skill.
Integer Reserv   ⚠
Integer Duration The amount of turns the buff/debuff inflicted by this skill will last.   ⚠
Integer AOE_Lenght The amount of tiles covered by the AOE of this skill on the X axis. 0 if none.
Integer AOE_Width The amount of tiles covered by the AOE of this skill on the Y axis. 0 if none.
Integer is_movement Whether or not this skill moves the object casting it.
String Pattern The pattern for this skill.
Possible values : normal, five, line, circle, `pyramid
String Class The class for this skill.
Possible values : skill, spell, attack
Integer Bonus_Range The bonus range added when using this skill.   ⚠
String Starcast The sprite used when this skill is used.
Note : The sprite name seems to be followed by an underscore (_).   ⚠
String Branch The skill tree this skill belongs to. none if it belongs to none.
Integer is_knockback Whether or not this skill causes knockback.
Integer Crime Whether or not using this skill around friendly NPCs is considered a crime.   ⚠
String metacategory The metacategory this skill belongs to. Possible values : weapon.
Integer FMB The chance for this skill to backfire. Special values : 0 for no backfire possible.   ⚠
Integer AP   ⚠
Integer Attack Whether this skill is an attack or not. Spells don't seem to have this.   ⚠
Integer Stance Whether this skill is a stance or not.
Integer Charge Whether this skill is a charge / a rush.
Integer Maneuver Whether this skills is a maneuver.   ⚠
Integer Spell Whether this skill is a spell or not.