hellbound/meta/conf.meta

65 lines
1.4 KiB
Plaintext
Raw Normal View History

2021-11-26 11:16:25 +03:00
#include enum.meta
struct ConfBase
#NOTE: id is a crc28 value
id : uint32 @default:0
strid : string @default:""
end
###########################################################
struct ConfVec3
x : float
y : float
z : float
end
struct ConfGameLevels extends ConfBase
original : uint32[] @default: []
originalPattern : ConfLevelsPattern @default: {}
customPatterns : ConfLevelsPattern[] @default: []
levels : ConfLevelData[] @default: []
end
struct ConfLevelsPattern
sequence : EnumLevelType[] @default: []
end
struct ConfLevelData
levelID : uint32 @default: 0
levelType : EnumLevelType @default: "COMMON"
end
struct ConfGameBuffs extends ConfBase
buffs : ConfBuff[] @default: []
end
struct ConfBuff
buffType : EnumBuffType
progression : ConfBuffProgression @default: {}
view : ConfBuffPresenter @default: {}
end
struct ConfBuffProgression extends ConfBase
levels : ConfBuffLevel[] @default: []
end
struct ConfBuffLevel
price : uint32 @default: 0
value : float @default: 0.0
end
struct ConfBuffPresenter
title : string @default: "buff"
icon : string @default: ""
end
struct ConfLootSpawn extends ConfBase
items : uint32[] @str2num
count : uint32 @default: 0
end
struct ConfLootItem extends ConfBase
prefab : string @default: ""
end