How do i use a thought?

Started by SlimeCrusher, March 04, 2014, 08:53:49 PM

Previous topic - Next topic

SlimeCrusher

Im still (slowly) developing my Coffee Mod, yet, i want to add alot more things, and one of those is:
A coffee "sleeping" pod, not really sleeping as what it does is insert some coffee on the user's blood, so actually they don't sleep anything, and that should give a happiness debuff, but my problem is... How do i do that? Is there a way to do that with .xml? I know how to create a thought but i don't know how to add it to the pod, like the sharing bedroom thought, it would act forever until the colonist decides to change to a bed or a sleeping spot

Tynan

To do this, you'd need some code to give the person the thought when they use the pod. But you'd have to wait until A3 to be able to add code like that, I'm afraid.
Tynan Sylvester - @TynanSylvester - Tynan's Blog