Ludeon Forums

RimWorld => Mods => Releases => Topic started by: svc_bot on July 06, 2017, 07:49:43 AM

Title: Luci heals more!
Post by: svc_bot on July 06, 2017, 07:49:43 AM
Luci heals more!
(http://i.imgur.com/EGWpHeol.png)

Description:
Ever wanted that your brain injured colonists, whom you have administered luciferium, heal a bit faster, so that they can take care of them self's? Or maybe you had some one with bad back, so you were very tempting to prescribe him/her luciferium, but could not decide to do it?

This mod changes how healing from luciferium works. First of all, it makes the healing event happen more often, every 4 to 6 days, instead of 15 to 30 in vanilla. To keep things a bit balanced the healing power is reduced to 10 - 30 % limb max hitpoints. Next new feature is that luciferium now heals chronic diseases, similar to permanent injuries. Last feature is the reduction of the biological age, until the optimal age, and accelerated maturity if the unit hasn't yet reached the optimal age. Colonists optimal age is set to 25 years, animals optimal age is beginning of adulthood (0.45 years in wargs, 0.8 years in bears, 4 years in thrumbos and so on)

Update mod version v 0.9.1

New message added that will notify you about the age reduction every time it happens.

Update mod version v 1.0
Every species has its own optimal age, so now all animals can experience age reduction. Species younger than optimal age will mature faster under luciferium effect with nearly double speed. Age reduction notification from non colonists is suppressed now, as initially intended.

Update mod version v 1.0.1
Now blindness is cured as well (thanks agiber).
For some reason vanilla luci doesn't increase hearing stat. Now it is increased by 10 %.

Update mod version v 1.1.1
Update to B19
I also did experiment with mod setting. There are now two option: enable/disable aging related messages and debug healing speed. This will give me more possibilities for future features.

Update mod version v 1.1.2
If you add this mod to a save, where pawn already have luciferium effect, ticksToHeal will be set to 4-6 days, if this value is more than 6 days, so you don't need to wait half a year for my mod to take an effect.

Update mod version v 1.1.3
Bugfixes and refactoring. Better mod compatibility

Update mod version v 1.1.4
Migration to game version 1.1

Update mod version v 1.1.5
Migration to game version 1.2

Update mod version v 2.0.0
Healing happend much more often: every 4 hours
Additional toggles in the options
New experimental feature: Regrowing bodyparts. It can be used, body parts will get restored, but some times exceptions will be thrown when the regrowing hediff is applied (it can be ignored), and hunger rate calculations is buggy.

Update mod version v 2.0.1
Fix bug while removing hediffs without bodypart.

Update mod version v 2.1.1
Update to 1.4
Remove age reversal demand on age reduction

Author
svc_bot (who_stole_my_name on Steam, since svc_bot was already taken)

Download
Github: https://github.com/svcbot/Luci-heals-more/releases
Steam: http://steamcommunity.com/sharedfiles/filedetails/?id=965087548
Dropbox: https://www.dropbox.com/sh/axn725ya01mfo3x/AABub5YcCNhkZc2as6tlOO33a?dl=0
See attachment

Licence:
Every one is granted the right to use the mod and its source code without any obligations.
Logo by Reiskeks


[attachment deleted due to age]
Title: Re: [A17] Luci heals more!
Post by: SpaceDorf on July 06, 2017, 01:56:56 PM
Hail Lightbringer, Lord of Temptation :)


also you should put a zipfile in your dropbox folder, not the modfolders themselves ..
it is easier to download and less dirty when unpacking, because I can just mass-unpack without having to
unpack into folders.
Title: Re: [A17] Luci heals more!
Post by: svc_bot on July 06, 2017, 02:23:16 PM
Good point
Title: Re: [A17] Luci heals more!
Post by: player99zyzy on August 13, 2017, 11:02:44 PM
Mr svc_bot,I really like and need your mod,but the China goverment has banned dropbox,so will you please upload the file directly if possible? Thank you very much
(please forgive me for my English if any mistake)
Title: Re: [A17] Luci heals more!
Post by: Ratvar on August 14, 2017, 06:25:24 PM
Here you go, ennnnnjoy. Svc_bot, forgive meh

[attachment deleted by admin: too old]
Title: Re: [A17] Luci heals more!
Post by: player99zyzy on August 16, 2017, 08:33:11 AM
Quote from: Ratvar on August 14, 2017, 06:25:24 PM
Here you go, ennnnnjoy. Svc_bot, forgive meh

Thank you very much!!!! :)That great!
Title: Re: [A17] Luci heals more!
Post by: geojak on August 18, 2017, 06:32:21 PM
hey,

there is a new mod around that adds some other nanites to inject. mechanite forge

one of them is able to regrow hole lost libs under a lot of pain
another adds something like a personal shield but increases hunger.

would it be possible to make luci regrow limbs with the their source code?
p.s. i am trying to combine your two mods but i am not very capable of understunding the code

edit: i managed to do it myself. quite cool. now my luci is able to heal everything except for death itself.
Added it as download (only visible when logged in)

[attachment deleted by admin: too old]
Title: Re: [A17] Luci heals more!
Post by: lwki on August 19, 2017, 04:04:53 PM
Quote from: geojak on August 18, 2017, 06:32:21 PM
edit: i managed to do it myself. quite cool. now my luci is able to heal everything except for death itself.
that's dope, thanks!
Title: Re: [A17] Luci heals more!
Post by: svc_bot on October 14, 2017, 01:00:08 PM
sorry guys, i wasn't reading this thread for quite a long time.. (the whole time i was checking my messages tab, instead of clicking "new replies to my posts"... i don't use forums very often..)

@player99zyzy are there popular cloud services that i could use, that are available in china? I would like that people who are not logged in are also able to download the mod from this forum.

@Ratvar thanks for the help. It was my fault that i wasn't reading the forum.

I am currently working on an update. I am going to rebalance healing so that it is balanced for animals as well. I was also thinking about to make luci mature faster until "optimal age" is reached. And there are some bugs that need to be fixed.

The concept of the mod was to stay as vanilla as possible, so i am not sure about adding the suggested changes with limbs, because this will definitely alter the balance, and i know there are plenty of people who will not like this.
Title: Re: [A17] Luci heals more!
Post by: svc_bot on October 15, 2017, 04:12:14 PM
Update to version 1.0!
* Animals have their own optimal age,
* heal % of limb max hp, instead of 1-3 hp. This change should provide better experience with mods that alter limbs hp (like combat extended)
* Accelerated maturity
* Suppressed notifications from non colonists
Title: Re: [A17] Luci heals more!
Post by: Evillee on October 15, 2017, 06:24:02 PM
I'm debating whether or not to use this mod. On one hand we have the idea of luci basically turning people into liches, on the other we have how op it is. hmm
Title: Re: [A17] Luci heals more!
Post by: svc_bot on October 16, 2017, 05:33:03 AM
I think the best way to decide is to try it out ;-)
Title: Re: [B18] Luci heals more!
Post by: svc_bot on November 18, 2017, 07:32:52 AM
Recompiled for Beta 18!
Title: Re: [B18] Luci heals more!
Post by: agiber on January 03, 2018, 04:36:27 AM
Quote from: svc_bot on November 18, 2017, 07:32:52 AM
Recompiled for Beta 18!

It seems there are some new things to heal in b18 - Blindness and Psychosis.
Title: Re: [B18] Luci heals more!
Post by: svc_bot on January 07, 2018, 03:59:03 PM
Thanks for pointing it out. I'm not playing very often lately because of too much work irl. Blindness definitely needs to be cured, but i am not sure about resurrection psychosis. It is a nasty thing, but it is also designed that way. I'll fix blindness asap, but i will need some time too think about the psychosis hedif.
Title: Re: [B18] Luci heals more!
Post by: svc_bot on August 29, 2018, 02:44:18 AM
An update to B19 is coming soon, sorry for the delay
Title: Re: [B19] Luci heals more!
Post by: svc_bot on September 01, 2018, 02:52:51 PM
Good news everyone. I did it, enjoy my mod in B19!
Title: Re: [B19] Luci heals more!
Post by: svc_bot on October 18, 2018, 04:55:51 PM
Update to 1.0 is live
Title: Re: [1.0] Luci heals more!
Post by: agiber on November 21, 2018, 07:54:52 AM
Thank you! Nice mod
Title: Re: [1.0] Luci heals more!
Post by: rook14 on November 21, 2018, 03:07:51 PM
Auto download. I love using Luci and with this, Ill use it even more.
Title: Re: [1.0] Luci heals more!
Post by: zloiiojik on December 23, 2018, 03:22:28 PM
I really like how this mod works, but over time, after trying out multiple different scenarios I came to wonder, is it possible to add this improved luciferium effect as an innate body effect? An effect of a certain race for example, like Logann race that recently appeared on the workshop, but less op. Too bad I really suck at mod making and figuring things out takes ages...
Title: Re: [1.0] Luci heals more!
Post by: Pelador on January 03, 2019, 12:01:28 AM
FYI: By your consent, I have applied the LHM C# mechanic to an alternative drug in another mod.

Medical Supplements: https://steamcommunity.com/sharedfiles/filedetails/?id=1600830185

Ensured to include credits and link to this mod.
Title: Re: [1.0] Luci heals more!
Post by: Pelador on January 03, 2019, 02:37:42 AM
Come across an interesting issue:

I copied the LHM.dll to LHMMS.dll and changed all the namespace and mod references accordingly, (did this to take a snap-shot of the mechanics and to avoid conflict for any potential compatibility issues with your main mod). The assembly works fine.

However, when I also add the base mod "LHM", everything still seems to work fine, the game is playable, i can save the game etc. but when I try to exit the game to the desktop after a session the game seems to hang. After removing your mod this was the identified as the case. (Though in principle it may do a similar thing on the removal of my own mod of course if there is a conflict occurring).

I also didn't want to burden users with a need to download other mods as a pre-cursor need if it wasn't completely necessary.

Do you have any idea what the issue might be?
Title: Re: [1.0] Luci heals more!
Post by: vovik on January 03, 2019, 02:54:17 PM
I updated Cryptorstore caskets (https://ludeon.com/forums/index.php?topic=39244.msg416603#msg416603), now it heals luci addiction leaving stabilized luciferium nanobots in addition to age healing, has got price of loosing pawn if you accidentally kill him after ejecting, comes late in tech tree. Imbiding luciferium tablets directly results in destabilization of 'do not harm' programming.
Title: Re: [1.0] Luci heals more!
Post by: Pelador on January 05, 2019, 07:09:17 AM
(^^ see above)

k, I've reverted to using a standard version of the LHM.dll assembly for use atm. However, my concerns are for the potential conflict of settings with two mods sharing the same values. Unless these remain the same as it would provide consistency accross the mods? (version control obviously a concern still).

I should have perhaps considered the simpler approach of placing a dependency on the use of your mod, but didn't want to impose the behaviour of Luciferium.

I've reverted to using a copy of LHM.dll since when I tried to change the mod name definition in the settings (after all the namespaces to LHMMS) it was complaining about other elements being incorrectly defined. So couldn't manage to change it and didn't really have time to delve through all the class definitions. I even tried to default the settings values in the main code to value I would want to use, but found that this caused more problems and wasn't simply just a case of overiding the "get values" and removing the mod settings section.

In the process, I had also accidentally managed to compile an object into the main Rimworld folder which caused confusion for me for a while. Fortunately, none of this was submitted for use and all done in an isolated testing cycle.

I intend to test and try a few more things, but where practically possible it would be great and very much appreciated if you could provide a mirrored copy of the assembly as LHMMS.dll with whatever unique mod name value you think is appropriate in the settings definitions? (It is for the mod Medical Supplements (MS for short) ).

---

Update: Had 3.5 Net assemblies, Assembly-CSharp and UnityEngine open to try and edit the LHM assembly but it was complaining about missing assemblies. I feel unable to do much at my end without having the additional class definitions loaded to interpret/decompile/edit and recompile for use.
Title: Re: [1.0] Luci heals more!
Post by: svc_bot on January 06, 2019, 09:42:01 AM
if you need my source code, you can get it here.
https://github.com/svcbot/Luci-heals-more

I think with that you should be able to compile all the needed functionality by yourself, which would be easier for both of us.
Consistency is difficult, and we don't want players to download additional library, but i honestly cant think of any better way. Copy-paste is not pretty, but it gives us new mods. I see multiple mods are using limb regrowing mechanic from mechanite forge from A17, and it still works. Even i was thinking to including it in my mod
Title: Re: [1.0] Luci heals more!
Post by: Pelador on January 06, 2019, 04:20:58 PM
tyvm, for the source code.

I now have a mirrored copy for MS (MSLHM.dll) with separate mod option settings, so this will remove any potential compatibility issues due to version control etc.

I may, of course, wish to adopt future functionality as your mod "evolves", but hopefully I can accommodate your changes as a part of my mod as this occurs. Certainly, if you manage to consider a better option/method in identifying disorders that allows for other mods to use permanent "hediffs" for other purposes more readily, then I'd consider that process/functionality desirable for MS also.

ty again.
Title: Re: [1.0] Luci heals more!
Post by: svc_bot on March 16, 2019, 12:48:42 PM
New mod version released. Should now run smoother with other mods.
Title: Re: Luci heals more!
Post by: svc_bot on February 26, 2020, 03:59:51 PM
Update to game version 1.1 - enjoy!

New version can be found under links and attachments to the first post.
Title: Re: Luci heals more!
Post by: svc_bot on September 05, 2020, 08:44:11 AM
In the latest version I've added option to disable age reduction and trauma savant healing.
Title: Re: Luci heals more!
Post by: svc_bot on October 11, 2020, 01:02:18 PM
Major bethesda style update:
Healing happens now even faster: every 4 hour.
More features can be toggled in the options

Higly anticipated feature to regrow missing body parts added, unfortunatelly with some (non game breaking) bugs.
The regrowing effect will be applied, and it will heal body parts. But some times an exception will be trown while appling this effect. My testiung has shown that it can be just ignored, also it is annoying.
Hunger rate and rest fall rate are applied, but the values get overwriten by each new regrowing effect, and the calculation of the total hunger rat eof the pawn is incorrect, so the option to limit is not working correctly. So the feature can definitely be used already, but it need some polishing.

These issues will be fixed in the near future.
Title: Re: Luci heals more!
Post by: svc_bot on October 28, 2020, 04:59:10 PM
Latest version had a bug which caused the age related effects to be 30 times faster than it was before. It is now fixed.
Title: Re: Luci heals more!
Post by: svc_bot on September 08, 2022, 02:27:38 PM
Published a new release, which includes a bug fix for animal age reduction and a new mod option to select optimal age.
Title: Re: Luci heals more!
Post by: svc_bot on October 23, 2022, 06:04:18 AM
Published an update for 1.4
Title: Re: Luci heals more!
Post by: svc_bot on November 09, 2022, 05:39:03 AM
Small update added which removes age reversal demand from ideology if you are using age reduction feature from this mod.
Title: Re: Luci heals more!
Post by: svc_bot on November 14, 2022, 09:36:54 AM
latest version now replaces healing from the scarless gene with same gradual healing as in luciferium
Title: Re: Luci heals more!
Post by: svc_bot on November 16, 2022, 02:06:19 PM
In version 2.1.3 I've added a fix for an error which occurred while trying to reduce age of some non-standard animals.
Title: Re: Luci heals more!
Post by: svc_bot on November 22, 2022, 04:26:12 PM
Added new bug fix release, please update