@adatechnology/game-characters-undead
v0.2.6
Published
Zombie-only layer over @adatechnology/game-characters, as data: the 13 undead types (health, speeds, multipliers, perception, eyes, posture, gait, abilities), 4 infection ages, 4 outfits with protection and loot, the infection timeline and the speed momen
Downloads
2,395
Maintainers
Readme
@adatechnology/game-characters-undead
The zombie-only layer over @adatechnology/game-characters, as data: 13 undead types (health, speeds, multipliers, perception, eyes, posture, gait,
abilities), 4 infection ages, 4 outfits with protection ids, the infection timeline and the speed moments, in en and pt-BR. A game with no undead
never imports it. Generated by tools/characters-catalog from the team deliveries.
import { UNDEAD_TYPES, getUndeadType, childTypeIds } from '@adatechnology/game-characters-undead'
getUndeadType('runner')?.speed // { wander: 1.2, chase: 5.5, sprint: 6 }
childTypeIds() // every type except brute and bloaterundeadCrowdPack() is the crowd pack for @adatechnology/game-crowd: the 13 types with the numbers of the game's horde (jogo.js CATS; the blind,
charred, drowned and devourer chase speeds and the drowned weight differ from the Bestiário table in types.json) and each special move as a trait, with
the ages, outfits, segments and the clothes palette. src/data/crowd.json is written by hand from the game, with its sources.
Plain script: dist/index.global.js exposes the GameCharactersUndead global.
