Skilltree Wolfgang
Based on game build 714014 | Last updated: 2026-03-07
Overview
This file constructs the complete skill tree data for the Wolfgang character in Don't Starve Together. It defines 42 skills grouped into four categories (might, training, planar damage, allegiance), each with position, tags, and activation/deactivation callbacks. The structure is returned as a table containing SKILLS and ORDERS. It references external components (mightiness, damagetyperesist, damagetypebonus) to apply gameplay effects when skills are activated.
Usage example
local skilltree = require "prefabs/skilltree_wolfgang"
local data = skilltree()
print("Total skills:", #data.SKILLS)
print("First skill:", data.SKILLS.wolfgang_critwork_1.title)
Dependencies & tags
Components used: mightiness, damagetyperesist, damagetypebonus
Tags added: might, autogym, training, dumbbell_craft, dumbbell_throwing, overbuff, planardamage, allegiance, lock, shadow, shadow_favor, lunar, lunar_favor
Tags removed: None identified.
Properties
| Property | Type | Default Value | Description |
|---|---|---|---|
GAP | number | 38 | Vertical spacing (in pixels) between vertically adjacent skills in a column. |
BIGGAP | number | 54 | Larger vertical gap used for certain spacing adjustments. |
CATGAP | number | 87 | Horizontal gap between skill categories. |
X, Y | number | -218, 170 | Base screen coordinates for skill positioning. |
TITLE_Y_OFFSET | number | 30 | Vertical offset applied to category title positions. |
ORDERS | table | {{"might", {...}}, {"training", {...}}, ...} | Ordered list of skill category definitions with positions. |
SKILLS | table | Generated by BuildSkillsData | Dictionary of all skill definitions keyed by skill ID. |
Main functions
RecalculatePlanarDamage(inst, fromload)
- Description: Utility function used as activation/deactivation callback for planar damage skills to trigger
inst:RecalculatePlanarDamage()on the target entity. - Parameters:
inst(entity) — The entity whose planar damage stats are recalculated.
fromload(boolean) — Whether the skill is being activated during a load operation. - Returns: Nothing.
BuildSkillsData(SkillTreeFns)
- Description: Main constructor function that builds and returns the complete skill tree data structure.
- Parameters:
SkillTreeFns(table) — Utility functions for skill tree logic (e.g.,CountTags). - Returns:
table— Table with keysSKILLS(map of skill definitions) andORDERS(ordered list of categories).
Events & listeners
- Listens to: None identified.
- Pushes: None identified.
(Note: This file defines static data only; no event listeners or pushes are present.)