Template:Weapon/Cargo: Difference between revisions

From Phantasy Star Universe Clementine
(change name of fields to avoid conflicts)
No edit summary
Line 3: Line 3:
_table = Weapons
_table = Weapons
|_parentTables = Items(_localField=item_id, _remoteField=id, _alias=ItemWeapon);
|_parentTables = Items(_localField=item_id, _remoteField=id, _alias=ItemWeapon);
|item_id = String (mandatory;unique;regex=[A-F0-9]{8})
|item_id = String (mandatory;unique;regex=[A-F0-9]{8}; size=8)
|name = String
|name = String (size=32)
|description = Text
|description = Text
|rarity = Integer (allowed values=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14)
|rarity = Integer (allowed values=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14)
Line 11: Line 11:
<!-- UNUSED: |sell_price = Integer -->
<!-- UNUSED: |sell_price = Integer -->
<!-- Derived Properties -->
<!-- Derived Properties -->
|category_id = String (mandatory)
|category_id = String (mandatory;size=2)
|subcategory_id = String (mandatory)
|subcategory_id = String (mandatory;size=2)
|subcategory_item_id = String (mandatory)
|subcategory_item_id = String (mandatory;size=2)
|extra_id = String (mandatory)
|extra_id = String (mandatory;size=2)
<!-- Requirements -->
<!-- Requirements -->
|stat = Integer
|stat = Float
|sex = List (,) of String (allowed values=Male,Female) <!-- note that these are hardcoded. the data namespace does not query these dynamically (not for a lack of trying, but any changing of these values would be extremely rare and the rigid structure is a boon -->
|sex = List (,) of String (allowed values=Male,Female;size=8) <!-- note that these are hardcoded. the data namespace does not query these dynamically (not for a lack of trying, but any changing of these values would be extremely rare and the rigid structure is a boon -->
|race = List (,) of String (allowed values=Human,Newman,CAST,Beast)
|race = List (,) of String (allowed values=Human,Newman,CAST,Beast;size=6)
|class = List (,) of String (allowed values=Hunter,Ranger,Force,Fighgunner,Guntecher,Wartecher,Fortefighter,Fortegunner,Fortetecher,Protranser,Acrofighter,Acrotecher,Fighmaster,Gunmaster,Masterforce,Acromaster)
|class = List (,) of String (allowed values=Hunter,Ranger,Force,Fighgunner,Guntecher,Wartecher,Fortefighter,Fortegunner,Fortetecher,Protranser,Acrofighter,Acrotecher,Fighmaster,Gunmaster,Masterforce,Acromaster;size=12)
|account_bound = Boolean
|account_bound = Boolean
<!-- Stats -->
<!-- Stats -->
|variance = Integer
|variance = Float
|max_attack = List (,) of Integer
|max_attack = List (,) of Float
|max_pp = List (,) of Integer
|max_pp = List (,) of Float
|accuracy = Integer
|accuracy = Float
|max_grind = Integer
|max_grind = Float
|max_target = Integer
|max_target = Float
|pp_recovery_tick = Integer
|pp_recovery_tick = Float
|pp_recovery_normal = Integer
|pp_recovery_normal = Float
|penetration_override = Boolean
|penetration_override = Boolean
|elements = List (,) of String (allowed values=Neutral, Fire, Ice, Lightning, Ground, Light, Dark)
|elements = List (,) of String (allowed values=Neutral, Fire, Ice, Lightning, Ground, Light, Dark; size=8)
<!-- Stats: Modifiers -->
<!-- Stats: Modifiers -->
|atp = Integer
|atp = Float
|ata = Integer
|ata = Float
|dfp = Integer
|dfp = Float
|tp = Integer
|tp = Float
|evp = Integer
|evp = Float
|mst = Integer
|mst = Float
|sta = Integer
|sta = Float
|normal_attack_mod = Float
|normal_attack_mod = Float
|critical_attack_mod = Float
|critical_attack_mod = Float
Line 54: Line 54:
|can_miss = Boolean
|can_miss = Boolean
|can_back_attack = Boolean
|can_back_attack = Boolean
|hitflag = Integer
|hitflag = Float
|self_status_id = Integer
|self_status_id = Float
|self_status_level = Integer
|self_status_level = Float
|self_status_chance = Integer
|self_status_chance = Float
|neutral_status_id = Integer
|neutral_status_id = Float
|neutral_status_level = Integer
|neutral_status_level = Float
|neutral_status_chance = Integer
|neutral_status_chance = Float
|fire_status_id = Integer
|fire_status_id = Float
|fire_status_level = Integer
|fire_status_level = Float
|fire_status_chance = Integer
|fire_status_chance = Float
|ice_status_id = Integer
|ice_status_id = Float
|ice_status_level = Integer
|ice_status_level = Float
|ice_status_chance = Integer
|ice_status_chance = Float
|lightning_status_id = Integer
|lightning_status_id = Float
|lightning_status_level = Integer
|lightning_status_level = Float
|lightning_status_chance = Integer
|lightning_status_chance = Float
|ground_status_id = Integer
|ground_status_id = Float
|ground_status_level = Integer
|ground_status_level = Float
|ground_status_chance = Integer
|ground_status_chance = Float
|light_status_id = Integer
|light_status_id = Float
|light_status_level = Integer
|light_status_level = Float
|light_status_chance = Integer
|light_status_chance = Float
|dark_status_id = Integer
|dark_status_id = Float
|dark_status_level = Integer
|dark_status_level = Float
|dark_status_chance = Integer
|dark_status_chance = Float
<!-- Metadata -->
<!-- Metadata -->
|equip_hand = Integer
|equip_hand = Float
|weapon_type_flag = Integer
|weapon_type_flag = Float
<!-- UNUSED: |action_label = Integer -->
<!-- UNUSED: |action_label = Integer -->
|set_bonus = List (,) of Integer
|set_bonus = List (,) of Float
|model_id = Integer
|model_id = Float
|visual_effect_id = Integer
|visual_effect_id = Float
<!-- sound_effect_id Properties -->
<!-- sound_effect_id Properties -->
|sound_bank_id = Integer
|sound_bank_id = Float
|sound_effect_id = Integer
|sound_effect_id = Float
<!-- Hitbox Properties -->
<!-- Hitbox Properties -->
|weapon_range = Integer
|weapon_range = Float
|normal_attack_width = Integer
|normal_attack_width = Float
|normal_attack_angle = Integer
|normal_attack_angle = Float
|normal_attack_height = Integer
|normal_attack_height = Float
<!-- RCSM Data -->
<!-- RCSM Data -->
|rcsm_fire_time = Integer
|rcsm_fire_time = Float
|rcsm_penetration_flag = Integer
|rcsm_penetration_flag = Float
|rcsm_number_of_shot = Integer
|rcsm_number_of_shot = Float
|rcsm_bullet_type = Integer
|rcsm_bullet_type = Float
|rcsm_bullet_velocity = Integer
|rcsm_bullet_velocity = Float
|rcsm_bullet_size = Integer
|rcsm_bullet_size = Float
|rcsm_bullet_range = Integer
|rcsm_bullet_range = Float
}}</noinclude>
}}</noinclude>

Revision as of 15:03, 9 April 2024

Template used for declaring weapon properties in Cargo. This template defines the table "Weapons". View table.