Hey, my girls keep complaining about sore tiddies. How do I get them to stop lactating... or just how do I milk them?
Viewing post in Aric's Expansion Rebred
For others right now. Keep in mind that is my first time modding anything. I'm trying to get into. I really liked the additions you made, so I want to start doing the same.
leak = { code = 'leak', name = 'Leak', description = 'Drains excess much milk. ', effect = 'leakeffect', manacost = 20, req = 0, price = 350, personal = true, combat = false, learned = true, type = 'utility', }, func leakeffect(): var spell = globals.spelldict.leak globals.resources.mana -= spellcost(spell) person.lactating.milkstorage = 0 person.lactating.daysunmilked = 0 var text = "You cast Leak on the target." return text
There should be 2 windows that open when the game starts: the game and a terminal that shows error messages. Is there any messages on the second window? If so, I'll need to know what they are to fix it.
If not, then I'm guessing you added it to the mod before or after applying it. If you added it to the mod after applying it, then you need to re-apply the mod.
If you added it to the mod before applying the mod, then the problem is probably the formatting of the text added. The text provided in his post is not the literal code. The first part is to be included in "spelllist" and the second part is a function that goes in any black space towards the bottom of the file. Both parts will have spaces at the beginning of the lines where the game will expect tabs. The vanilla mod system is very literal and will ignore changes that do not exactly match its expectations.