112 lines
2.8 KiB
Plaintext
112 lines
2.8 KiB
Plaintext
|
|
|
|
// -----------------------------------------------------------
|
|
|
|
// Armor
|
|
Table armor {
|
|
id int [pk, ref: - entity.id]
|
|
|
|
ac_bonus int [not null, note: "{}.acBonus"]
|
|
strength int [null, note: "{}.strength"]
|
|
check_penalty int [not null, note: "{}.checkPenalty"]
|
|
dex_cap int [not null, note: "{}.dexCap"]
|
|
speed_penalty int [not null, note: "{}.speedPenalty"]
|
|
|
|
bulk float [not null, note: "{}.bulk"]
|
|
category armor_category [not null, note: "{}.category"]
|
|
group armor_group [null, note: "{}.group"] // 16 без группы
|
|
level int [not null, note: "{}.level.value"]
|
|
price int [not null, note: "price({}.price.value)"]
|
|
size armor_size [not null, note: "{}.size"]
|
|
|
|
extra text [null, note: "json для того, что надо рассмотреть"]
|
|
|
|
Note: '''{} = Item.armor.system
|
|
|
|
Перенаправление:
|
|
{}.publication -> entity_sources
|
|
{}.traits -> entity_traits
|
|
|
|
Рассмотреть:
|
|
{}.base_item - возможно связь на себя
|
|
{}.material
|
|
{}.runes
|
|
{}.specific
|
|
|
|
Не использованы поля:
|
|
{}.containerId - пустое
|
|
{}.hardness - всегда 0
|
|
{}.hp - всегда 0
|
|
{}.quantity - всегда 1
|
|
|
|
'''
|
|
}
|
|
Enum armor_category {
|
|
light
|
|
heavy
|
|
medium
|
|
light_barding // light-barding
|
|
heavy_barding // heavy-barding
|
|
unarmored
|
|
}
|
|
Enum armor_group {
|
|
leather
|
|
plate
|
|
wood
|
|
chain
|
|
cloth
|
|
skeletal
|
|
composite
|
|
}
|
|
Enum armor_size {
|
|
med
|
|
lg
|
|
}
|
|
|
|
// Backpack
|
|
Table backpack {
|
|
id int [pk, ref: - entity.id]
|
|
|
|
level int [note: "{}.bulk.level.value"]
|
|
|
|
capacity int [note: "{}.bulk.heldOrStowed"]
|
|
heldOrStowed float [note: "{}.bulk.heldOrStowed"]
|
|
ignored int [note: "{}.bulk.ignored"]
|
|
value float [note: "{}.bulk.value"]
|
|
hardness int [note: "{}.bulk.hardness"]
|
|
quantity int [note: "{}.bulk.quantity"]
|
|
|
|
price int [note: "price({}.price.value)"]
|
|
size varchar [note: "{}.bulk.size (always med)"]
|
|
stowing bool [note: "{}.stowing"]
|
|
|
|
extra text [null, note: "json для того, что надо рассмотреть"]
|
|
|
|
Note: '''{} = Item.backpack.system
|
|
|
|
Перенаправление:
|
|
{}.publication -> entity_sources
|
|
{}.traits -> entity_traits
|
|
|
|
Рассмотреть:
|
|
{}.material
|
|
|
|
Не использованы поля:
|
|
{}.collapsed - всегда false
|
|
'''
|
|
}
|
|
Enum backpack_usage {
|
|
wornbackpack
|
|
held_in_two_hands // held-in-two-hands
|
|
worn
|
|
held_in_one_hand // held-in-one-hand
|
|
worngarment
|
|
}
|
|
|
|
|
|
// consumable -> equipment?
|
|
// equipment
|
|
// kit -> equipment
|
|
// shield -> equipment
|
|
// treasure -> equipment
|
|
// weapon -> equipment |