Hi all, it's my very first mod. I was searching (and i'm still) for a method to regen health over time when well feed. Meanwhile i created this "Cheer Stim" require 4 plant fiber (as bandages) to create 2 stim, when used for 5minutes (300secs) heals a small ammount and is stackable with bandages. (it takes about 20secs to heal 1 square) To install simply copy the folder assets in the zip into your. if you have other mod that modify /assets/player.config you must add Code: { "item" : "cheer stim" }, as Code: "defaultBlueprints" : { "tier1" : [ { "item" : "cheer stim" }, { "item" : "copperarmorhead" }, ..... and in the file /assets/levelling/duration.lvlfunctions Code: "300sec" : [ "linear", "clamp", [0, 300.0], [1, 300.0], [100, 300.0], [9999, 300.0] ], between the two curly brackets. the other files were created by me. If you know how to add a health over time in the food system please send a pm.
Would you mind explaining how the contents of duration.lvlfunctions are supposed to be read? The lack of comments in the file is highly disappointing, and I can't make heads nor tails of the table. What does each parameter in a row do?
Don't know exactly what they do, just figured that some one are the second of duration. Some better doc would be great.
Ah well. Thanks for at least clearing up that there's no information going around. We'll figure it out eventually, I suppose. ^^