Finerlobster

  • Content Count

    41
  • Joined

  • Last visited

Community Reputation

13 Good

1 Follower

About Finerlobster

  • Rank
    Junior Member
...

Recent Profile Visitors

1638 profile views
  1. I don't know what is happenin but I found a way to do it. DebugSpawn("deciduoustree_normal").AnimState:PlayAnimation("idle_normal")
  2. 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.
  3. I like Wall-E.
  4. I like the color black.
  5. It's working in my game, are you sure that the code is in your modmain.lua?
  6. 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)
  7. 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)
  8. Put it in your character file: local fn = function(inst) --CODE end
  9. 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)
  10. Nice tips! I thought Red Mushrooms were useless.
  11. Thank you. I'll make a update to this mod fixing all these mistakes.