NDDynamicSpawnerHUDVars
About HUDVars
HudVars is the way to tell the new HUD element what to display when players are near your dynamic spawner. The dynamic window function UpdateDynamicEventHUD is located in the hud.lua
<ObjectTemplate> <ClientId>320</ClientId> <Name>[FF9500]Candle[-]</Name> <SharedStateEntry name="Weight" type="int" value="1"/> <ObjectVariableComponent> <StringVariable Name="PluralName">Candles</StringVariable> <BoolVariable Name="Worthless">true</BoolVariable> <StringVariable Name="ResourceType">Candle</StringVariable> </ObjectVariableComponent> <ScriptEngineComponent> <LuaModule Name="stackable" /> </ScriptEngineComponent> </ObjectTemplate>