Jump to content

How to make infinite uses to both traps and bird traps?


Recommended Posts

Hello! I need some help...

I tried using some mods to make my ds game have infinite uses to common traps and bird traps, but no success, nothing works. WOuld it be possible to make such mod and it be commpatible with base game, RoG, Shipwrecked and Hamlet?

Link to comment
Share on other sites

I don't know but you can make a local mod (not published) and have the modmain.lua do this:

GLOBAL.TUNING.TRAP_USES = 99

I haven't tried this myself but it should work.

Link to comment
Share on other sites

local function RemoveFiniteUses(inst)
	inst:RemoveComponent("finiteuses")
end

AddPrefabPostInit("trap", RemoveFiniteUses)
AddPrefabPostInit("birdtrap", RemoveFiniteUses)

Use this is modmain.lua

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
×
  • Create New...