Skip to content

Schemas

There are hard-coded schemas for buildings, spells, entities and items in the client.

Client-defined Schemas

Buildings

IDnamedescriptionkeymodelNamegridWidthgridHeighttiersbuiltlimitdisabled
WallWallBlocks enemies from reaching your towers.1WallModel1110250true
DoorDoorAllows party members to enter your base.2DoorModel111040true
SlowTrapSlow TrapSlows enemies from entering your base.3SlowTrapModel111012true
ArrowTowerArrow TowerSingle target, fast firing tower.4ArrowTowerModel22106true
CannonTowerCannon TowerArea of effect damage, slow firing tower.5CannonTowerModel22106true
MeleeTowerMelee TowerHigh damage, single target, close-range directional tower.6MeleeTowerModel22106true
BombTowerBomb TowerLarge area of effect damage, very slow firing tower.7BombTowerModel22106true
MagicTowerMage TowerMultiple projectile, short range, fast firing tower.8MageTowerModel22106true
GoldMineGold MineGenerates gold every second for your party.9GoldMineModel22108true
HarvesterResource HarvesterHarvests resources automatically, fuelled by gold.0HarvesterModel22102true
GoldStashGold StashEstablishes your base and holds your gold.-GoldStashModel22101false

Raw schema: buildings.json

Entities

IDmodelgridSize.widthgridSize.heightargs
GamePlayerPlayerModel---
StoneRecoilModel33name: /asset/image/map/map-stone.svg
TreeRecoilModel44name: /asset/image/map/map-tree.svg
WallWallModel---
DoorDoorModel---
SlowTrapSlowTrapModel---
ArrowTowerArrowTowerModel22-
CannonTowerCannonTowerModel22-
MeleeTowerMeleeTowerModel22-
BombTowerBombTowerModel22-
MagicTowerMageTowerModel22-
GoldMineGoldMineModel22-
HarvesterHarvesterModel22-
GoldStashGoldStashModel22-
ArrowProjectileProjectileArrowModel---
CannonProjectileProjectileCannonModel---
BowProjectileProjectileArrowModel---
BombProjectileProjectileBombModel---
FireballProjectileProjectileMageModel---
HealTowersSpellHealTowersSpellModel---
PetCARLPetModel---
PetMinerPetModel---
ZombieGreenTier[1-10]ZombieModel---
ZombieRangedGreenTier1ZombieRangedModel---
ZombieBlueTier[1-10]ZombieModel---
ZombieRedTier[1-10]ZombieModel---
ZombieYellowTier[1-10]ZombieModel---
ZombiePurpleTier[1-10]ZombieModel---
ZombieOrangeTier[1-10]ZombieModel---
ZombieBossTier[1-40]ZombieBossModel---
NeutralCampNeutralCampModel---
NeutralTier1NeutralModel---
PathNodePathNodeModel---

Raw schema: entities.json

Items

INFO

You cannot equip Invulnurable or Pause as an utility, even though they are listed here. HatComingSoon and PetComingSoon are placeholders.

IDnametypedescriptiontiersonToolbaronBuffBarcanPurchase
PickaxePickaxeWeaponHarvests stone and wood.1truefalsetrue
SpearSpearWeaponMelee weapon with high attack speed.1truefalsetrue
BowBowWeaponRanged weapon with high damage.1truefalsetrue
BombBombWeaponRanged AOE weapon with fuse delay.1truefalsetrue
ZombieShieldShieldArmorProtects you from zombies.1falsetruetrue
HatHornsHornsHatMakes you look cool... I think?1falsefalsetrue
HatComingSoonComing SoonHatMore hats will be coming very soon!1falsefalsetrue
PetCARLC. A. R. LPetWilling to fight by your side in close-range combat.1falsefalsetrue
PetMinerWoodyPetHarvests resources for you!1falsefalsetrue
PetComingSoonComing SoonPetMore hats will be coming very soon!1falsefalsetrue
HealthPotionHealth PotionUtilityHeals your player to full health.1truefalsetrue
PetHealthPotionPet PotionUtilityHeals your pet to full health.1truefalsetrue
PetWhistlePet WhistleUtilityBlowing this whistle calls your pet back to you.1truefalsefalse
PetRevivePet ReviveUtilityRevive your pet for a small fee...1falsefalsefalse
PauseTimeoutUtilityPrevents zombies from spawning for one cycle.1falsetruefalse
InvulnerableInvulnerableUtilityYou are temporarily immune to damage.1falsetruefalse

Raw schema: items.json

Spells

IDnametiers
HealTowersSpellHeal Towers1

INFO

Even though Pause / Timeout is a spell in the game, it is listed under Items, not Spells.

Raw schema: spells.json

Server-served Schemas

Attribute Interfaces

Vector2

ts
interface Vector2 {
    x: number,
    y: number
}

Schemas

attributeMaps, entityTypeNames and rpcMaps

These variables are defined directly by server data (PACKET_ENTER_WORLD) and stored as variables in BinCodec.

attributeMaps

attributeMaps defines all of the attributes that can be present on an entity and the type they are encoded as. A complete attribute map can be found here.

entityTypeNames

IDEntity Type
667546015Pet
742594995GoldMine
1059671174Zombie
1372600389Stone
1496910567Neutral
1566069472PlayerObject
1672634632NeutralCamp