Documentation ¶
Index ¶
- type Consumable
- type Item
- type Material
- type Member
- type RawMaster
- func (rw *RawMaster) GenerateItem(name string, spawnType SpawnType) gloader.GameComponentList
- func (rw *RawMaster) GenerateMaterial(name string, amount int, spawnType SpawnType) gloader.GameComponentList
- func (rw *RawMaster) GenerateMember(name string, inParty bool) gloader.GameComponentList
- func (rw *RawMaster) GenerateRecipe(name string) gloader.GameComponentList
- type Raws
- type Recipe
- type RecipeInput
- type SpawnType
- type Weapon
- type Wearable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumable ¶
type Item ¶
type Item struct { Name string Description string ProvidesHealing int InflictsDamage int Consumable *Consumable `toml:"consumable"` Weapon *Weapon `toml:"weapon"` Wearable *Wearable `toml:"wearable"` }
tomlで入力として受け取る項目
type RawMaster ¶
type RawMaster struct { Raws Raws ItemIndex map[string]int MaterialIndex map[string]int RecipeIndex map[string]int MemberIndex map[string]int }
func LoadFromFile ¶
func (*RawMaster) GenerateItem ¶
func (rw *RawMaster) GenerateItem(name string, spawnType SpawnType) gloader.GameComponentList
func (*RawMaster) GenerateMaterial ¶
func (*RawMaster) GenerateMember ¶
func (rw *RawMaster) GenerateMember(name string, inParty bool) gloader.GameComponentList
func (*RawMaster) GenerateRecipe ¶
func (rw *RawMaster) GenerateRecipe(name string) gloader.GameComponentList
Click to show internal directories.
Click to hide internal directories.