Jump to content

Poison heal does not give immunity


KXWl1
  • DLC VERSION - IMPORTANT!: Shipwrecked, Hamlet Pending

component files 'poisonhealer' line 20:

			target.components.poisonable:Cure(self.inst)

component files 'poisonable' line 322-399:

	if give_immunity then
		if self.immunetask then
			self.immunetask:Cancel()
		end
		self.immune = true
		self:SpawnFX()
		self.immunetask = self.inst:DoTaskInTime(immunity_duration or TUNING.POISON_IMMUNE_DURATION, ImmunityOver)
	end

And in actions:

ACTIONS.CUREPOISON.fn = function(act)
	if act.invobject and act.invobject.components.poisonhealer then
		local target = act.target or act.doer
		return act.invobject.components.poisonhealer:Cure(target)
	end
end

 


Steps to Reproduce

1. c_give("antivenom")

2.c_spawn("snake_poison")

3.get attcked by snake_poison, let player get poisoned

4. far away from snake_poison

5. drink antivenom

6. Get attacked by snake_poison one more time.

7. You will be poisoned and die.




User Feedback


Is it supposed to make you immune to getting poisoned again immediately after you drink it? I don't get what makes this a bug rather than intended albeit frustrating game design.

  • Like 2

Share this comment


Link to comment
Share on other sites

2 hours ago, CameoAppearance said:

Is it supposed to make you immune to getting poisoned again immediately after you drink it? I don't get what makes this a bug rather than intended albeit frustrating game design.

It's just an unused/unfinished mechanic from what I can see.

Share this comment


Link to comment
Share on other sites

1 hour ago, Hornete said:

It's just an unused/unfinished mechanic from what I can see.

To be fair so was the gas mask muffling voices and that was "fixed".

Same with the unused ox flute and wind conch sounds.

Honestly i'm not really sure what counts as a "bug" rn.

  • Like 1

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...