Skip to main content

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

PropertyTypeDefault ValueDescription
GAPnumber38Vertical spacing (in pixels) between vertically adjacent skills in a column.
BIGGAPnumber54Larger vertical gap used for certain spacing adjustments.
CATGAPnumber87Horizontal gap between skill categories.
X, Ynumber-218, 170Base screen coordinates for skill positioning.
TITLE_Y_OFFSETnumber30Vertical offset applied to category title positions.
ORDERStable{{"might", {...}}, {"training", {...}}, ...}Ordered list of skill category definitions with positions.
SKILLStableGenerated by BuildSkillsDataDictionary 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 keys SKILLS (map of skill definitions) and ORDERS (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.)