Template:Weapon/Cargo: Difference between revisions
(Created page with "<noinclude>{{{{FULLPAGENAME}}/doc}} {{#cargo_declare: _table = Weapons |_parentTables = Items(_localField=item_id, _remoteField=id, _alias=ItemWeapon); |item_id = String (mandatory;unique;regex=[A-F0-9]{8}) |name = String |description = Text |rarity = Integer (allowed values=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14) |rank = Integer (allowed values=1,2,3,4) <!-- rarity is 0-indexed, rank is not --> |buy_price = Integer <!-- Unused. Should we ditch this field? --> |sell_price =...") |
m (Removed JPnameField) Tag: Manual revert |
||
(13 intermediate revisions by 2 users not shown) | |||
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) | ||
|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) | ||
|rank = Integer (allowed values=1,2,3,4) <!-- rarity is 0-indexed, rank is not --> | |rank = Integer (allowed values=1,2,3,4) <!-- rarity is 0-indexed, rank is not --> | ||
|buy_price = Integer <!-- | <!-- UNUSED: |buy_price = Integer --> | ||
|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 = Integer | ||
|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=6) <!-- 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 --> | ||
Line 30: | Line 29: | ||
|pp_recovery_tick = Integer | |pp_recovery_tick = Integer | ||
|pp_recovery_normal = Integer | |pp_recovery_normal = Integer | ||
|elements = List (,) of | |penetration_override = Boolean | ||
|elements = List (,) of String (allowed values=Neutral, Fire, Ice, Lightning, Ground, Light, Dark; size=8) | |||
<!-- Stats: Modifiers --> | <!-- Stats: Modifiers --> | ||
|atp = Integer | |atp = Integer | ||
Line 44: | Line 44: | ||
|pp_mod = Float | |pp_mod = Float | ||
|se_mod = Float | |se_mod = Float | ||
|striking_range = Float | <!-- UNUSED: |striking_range = Float? --> | ||
|striking_speed = Float | <!-- UNUSED: |striking_speed = Float? --> | ||
|bullet_range = Float | <!-- UNUSED: |bullet_range = Float? --> | ||
|bullet_speed = Float | <!-- UNUSED: |bullet_speed = Float? --> | ||
|technic_range = Float | <!-- UNUSED: |technic_range = Float? --> | ||
|technic_speed = Float | <!-- UNUSED: |technic_speed = Float? --> | ||
<!-- Attack Data --> | <!-- Attack Data --> | ||
|can_miss = Boolean | |can_miss = Boolean | ||
Line 81: | Line 81: | ||
|equip_hand = Integer | |equip_hand = Integer | ||
|weapon_type_flag = Integer | |weapon_type_flag = Integer | ||
<!-- UNUSED: |action_label = Integer --> | |||
|set_bonus = List (,) of Integer | |set_bonus = List (,) of Integer | ||
|model_id = Integer | |model_id = Integer | ||
|visual_effect_id = Integer | |visual_effect_id = Integer | ||
| | <!-- sound_effect_id Properties --> | ||
| | |sound_bank_id = Integer | ||
| | |sound_effect_id = Integer | ||
<!-- Hitbox Properties --> | |||
|weapon_range = Integer | |||
|normal_attack_width = Integer | |||
|normal_attack_angle = Integer | |||
|normal_attack_height = Integer | |||
<!-- RCSM Data --> | |||
|rcsm_fire_time = Integer | |||
|rcsm_penetration_flag = Integer | |||
|rcsm_number_of_shot = Integer | |||
|rcsm_bullet_type = Integer | |||
|rcsm_bullet_velocity = Integer | |||
|rcsm_bullet_size = Integer | |||
|rcsm_bullet_range = Integer | |||
}}</noinclude> | }}</noinclude> |
Latest revision as of 15:47, 17 December 2024
Template used for declaring weapon properties in Cargo. This template defines the table "Weapons". View table.