-
Content Count
41 -
Joined
-
Last visited
Community Reputation
13 GoodAbout Finerlobster
-
Rank
Junior Member
Recent Profile Visitors
2045 profile views
-
Can't spawn "deciduoustree"
Finerlobster replied to keraunoscopia's topic in [Don't Starve] Mods and tools
I don't know what is happenin but I found a way to do it. DebugSpawn("deciduoustree_normal").AnimState:PlayAnimation("idle_normal") -
[GUIDE] Intro to worldgen
Finerlobster replied to tetrified's topic in [Don't Starve Together] Mods and Tools
Hello, I don't know why but it's not working for me, I tested the same code in DS and it worked, but in DST seems like nothing happens. Thanks in advance.- 21 replies
-
How to increase damage against hounds?
Finerlobster replied to Gryfuz's topic in [Don't Starve] Mods and tools
It's working in my game, are you sure that the code is in your modmain.lua? -
How to increase damage against hounds?
Finerlobster replied to Gryfuz's topic in [Don't Starve] Mods and tools
Sorry, I discovered today that this code is not working very well (It keeps increasing the damage like crazy). Delete the damage against hounds code and put this new code in your modmain.lua This new code is shorter and will work. local function HoundOnAttacked(inst) local bonus_damage = 20 -- the bonus damage, I put it 20 inst:ListenForEvent("attacked", function(inst, data) if data.attacker.prefab == "YOUR CHARACTER NAME" then inst.components.health:DoDelta(-bonus_damage) end end)endAddPrefabPostInit("hound", HoundOnAttacked)AddPrefabPostInit("icehound", HoundOnAttacked)AddPrefabPostInit("firehound", HoundOnAttacked) -
How to increase damage against hounds?
Finerlobster replied to Gryfuz's topic in [Don't Starve] Mods and tools
Put this in your modmain.lua local function NearbyHounds(inst) if GLOBAL.GetPlayer().prefab == "YOUR CHARACTER NAME" then inst.components.sanityaura.aura = -TUNING.SANITYAURA_MED * 1 -- HOW MUCH YOU WANT INCREASE (MULTIPLICATION) endendAddPrefabPostInit("hound", NearbyHounds)AddPrefabPostInit("icehound", NearbyHounds)AddPrefabPostInit("firehound", NearbyHounds) -
How to increase damage against hounds?
Finerlobster replied to Gryfuz's topic in [Don't Starve] Mods and tools
Put it in your character file: local fn = function(inst) --CODE end -
How to increase damage against hounds?
Finerlobster replied to Gryfuz's topic in [Don't Starve] Mods and tools
I'm not a code genius, but it will work. inst:ListenForEvent("onhitother", function(inst, data) local old_damage = inst.components.combat.defaultdamage local weapon = inst.components.combat:GetWeapon() if data.target:HasTag("hound") then inst.components.combat.defaultdamage = old_damage * 1.5 --or 1.7 if weapon then local weapon_old_damage = weapon.components.weapon.damage weapon.components.weapon.damage = weapon_old_damage * 1.5 --or 1.7 end else if weapon then weapon.components.weapon.damage = weapon_old_damage end inst.components.combat.defaultdamage = old_damage end end) -
Troller Pig King, lol.
-
Nice tips! I thought Red Mushrooms were useless.
-