DogFoodIsntThatBad/media/lua/shared/DogFoodIsntThatBad.lua
Nettika f981c23379 Add "Refined Palate" trait
- Increase or decrease happiness for a variety of foods and food
categories based on subjective quality when the Refined Palate trait is
active.
- Move the trait definition to the shared code.
- Add icons for the "Refined Palate" and "Not a Picky Eater" traits.
2025-10-11 19:57:08 -07:00

21 lines
518 B
Lua

local function initTraits()
TraitFactory.addTrait(
"NotAPickyEater",
getText("UI_trait_NotAPickyEater"),
1,
getText("UI_trait_NotAPickyEaterdesc"),
false,
false
)
TraitFactory.addTrait(
"RefinedPalate",
getText("UI_trait_RefinedPalate"),
-2,
getText("UI_trait_RefinedPalatedesc"),
false,
false
)
TraitFactory.setMutualExclusive("NotAPickyEater", "RefinedPalate")
end
Events.OnGameBoot.Add(initTraits)