Increasing max Durability?

Place for sharing your game modifications for Life is Feudal: Your Own

Estharos
 
Posts: 11
Joined: 29 Jan 2017, 16:18

Increasing max Durability?

Post by Estharos » 29 Jan 2017, 16:43

Is there a way to just increase the durability to max for all crafting station and buildings?

cheers,


Tobias0412
 
Posts: 32
Joined: 06 Dec 2016, 21:15

Re: Increasing max Durability?

Post by Tobias0412 » 31 Jan 2017, 10:38

Do u want to increase all buildings/cstations to 100000 (Q100)
OR
do u just want to repair all existing buildings ? So all buildings with Durability 4000 will have 4000 again and all 15000 will have 15000 again....

And WHEN do u want to run this code ? On every restart, only once or by urself when ever u want ?


Estharos
 
Posts: 11
Joined: 29 Jan 2017, 16:18

Re: Increasing max Durability?

Post by Estharos » 31 Jan 2017, 19:05

Tobias0412 wrote:Do u want to increase all buildings/cstations to 100000 (Q100)
OR
do u just want to repair all existing buildings ? So all buildings with Durability 4000 will have 4000 again and all 15000 will have 15000 again....

And WHEN do u want to run this code ? On every restart, only once or by urself when ever u want ?



Well what we would like is that all crafting station, ei: forge, furnace, kitchen, basically anything that lose durability while using it or crafting with it, had more durability.

We want them to repair on every startup and also have more durability to start with. Apparently you can boost the max durability from 5000 to 65535(using forge and anvil as example).

Cheers,


Tobias0412
 
Posts: 32
Joined: 06 Dec 2016, 21:15

Re: Increasing max Durability?

Post by Tobias0412 » 01 Feb 2017, 00:36

Estharos wrote:Well what we would like is that all crafting station, ei: forge, furnace, kitchen, basically anything that lose durability while using it or crafting with it, had more durability.

We want them to repair on every startup and also have more durability to start with. Apparently you can boost the max durability from 5000 to 65535(using forge and anvil as example).

Cheers,


Ok, I understand. I think the easiest way is if u join my teamspeak and i will explain u al u want to know and give u the code for that. Because there are some things to explain before.
IP: 94.250.223.7:15004
my name: Olaf Stiernacken


Estharos
 
Posts: 11
Joined: 29 Jan 2017, 16:18

Re: Increasing max Durability?

Post by Estharos » 01 Feb 2017, 05:34

Thank you so much for the help on TS Tobia, it was awesome. Everything is max out and people are happy, :) :D :Yahoo!: :beer:

Except for the Kitchen for some reason it still at 5000 durability, I try to found the table where it is and couldn't found it anywhere, do you know in which table the kitchen is?

Cheers,


Tobias0412
 
Posts: 32
Joined: 06 Dec 2016, 21:15

Re: Increasing max Durability?

Post by Tobias0412 » 01 Feb 2017, 09:15

Estharos wrote:Except for the Kitchen for some reason it still at 5000 durability, I try to found the table where it is and couldn't found it anywhere, do you know in which table the kitchen is?

Cheers,


The kitchen should be also in table "unmovable_objects" its ObjectTypeID 141.
Maybe it was not placed or finished on restart ?

All changes will just affect after restart. That means if u place a new building and want to upgrade this, u have to restart the server...


Estharos
 
Posts: 11
Joined: 29 Jan 2017, 16:18

Re: Increasing max Durability?

Post by Estharos » 02 Feb 2017, 17:25

Hey Tobia, the durability the way we work on it, works ok. However there's some issue that come out an sure they will be more as we play test the settings.

All building and craft station are max out to 20000 durability, everytime the server restart, the major issue we got atm is that even the log left on the ground get the durability boost up to 20000, so it take only 1 log now to get the building log, billet or board for an entire village :ROFL: .

If you look here: http://lif-tools.blogspot.ca/2015/05/durability-loss-on-usage-and-repair.html, the guy input a coding to separate the durability increase to the parentid only, is it possible to do the same?

I think it's a good way to avoid further complication.

Cheers,

Return to Game mods