Author Topic: [MOD] Mothballing  (Read 4911 times)

darkconsole

  • Full Member
  • ***
  • Status:
    Offline
    Posts:
    104
  • Halfcocked Rage Machine
    • View Profile
    • my game mods (contains nsfw stuff too)
on: March 29, 2017, 05:40:32 AM
ABOUT

Quote
mothball
/ˈmôTHˌbôl/


stop using (a piece of equipment or a building) but keep it in good condition so that it can readily be used again.

This mod will allow you to mothball a ship, or, keep it from blowing up without having to maintain a full mechanic workforce on it. There are multiple reasons you may want to do this, but the main one is that the ship is just costing you too much to maintain in active duty, and you dont want to abandon it in an unused sector or destroy it. You cant even trust the empty sector trick on a multiplayer server anyway as nothing is stopping other players from keeping it awake.

With this mod you can keep the pride of your fleet around for fraction of the cost of its full crew.


SERVER ADMINS

See the mod's main Github page for information about the configuration options you can tweak.

WHAT IT DOES

When you park a ship and remove its crew it will slowly die. When mothballed, you only need to have 25% of the normal mechanic force on board. That will stop the ships health from falling below 25%. If you need to keep it closer to battle ready then you can keep 69% and it will not fall below 69%, etc.

NOTE: Parts of your ship literally just start fucking exploding for no reason at 26%, so remember that when building your skeleton crew.



To put the ship you are currently controlling in mothballs use the chat command /mothballs on. A moment later you will see the message if you didn't fail at the installation.



To pull a ship out of mothballs use the chat command /mothballs off.



« Last Edit: March 29, 2017, 07:51:07 AM by darkconsole »



LordMaddog

  • Full Member
  • ***
  • Status:
    Offline
    Posts:
    224
    • View Profile
on: March 29, 2017, 07:53:25 AM
AWESOME!

however can you remove the whole mothballed command thing and just make it so the ship never falls below the mechanic %?

I really feel that its a bug that it dose so in the first place! I have had ships with 78% mechanics on it and had to fully repair it for tons of money and resources because I was almost dead while I search for more mechanics. In my mind it was total BS lol.

This would also mean that clients don't have to DL either. 



w00zla

  • Jr. Member
  • **
  • Status:
    Offline
    Posts:
    79
  • coder4life
    • View Profile
on: March 29, 2017, 10:02:03 AM
Pretty nice idea and solution, and I especially like the mod's name :D



Andy-Blackknight

  • Jr. Member
  • **
  • Status:
    Offline
    Posts:
    89
    • View Profile
on: March 29, 2017, 11:34:00 AM
was ist das genau?
srry verstehe ich nicht ganz
Unser Server: gaming-network.ddnss.de
Teamspeak: gaming-network.ddnss.de
Forum: lost-survivos.com

Root-Server:
Intel® Core™ i7-4770
Quad-Core Haswell
inkl. Hyper-Threading-Technologie
Arbeitsspeicher32 GB DDR3 RAMFestplatten2 x 240 GB SATA 6 Gb/s SSD
(Software-RAID 1)
Traffiig 30 TB



Hangkuro

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    1
    • View Profile
on: March 29, 2017, 02:13:32 PM
Dein Schiff wird nicht komplett zerstört, falls du zu wenig Mechaniker an Bord hast, sondern hat als minimale Lebenspunkte die prozentuale Mechanikeranzahl. Also wenn du 20/100 Mechanikern hast, sinkt das leben nicht unter 20%

Hinweiß: Teile des Schiffes explodieren, falls weniger als 26% Mechaniker an Bord sind.



Wilponderoci

  • Full Member
  • ***
  • Status:
    Offline
    Posts:
    203
  • one fish two fists
    • View Profile
on: March 29, 2017, 03:12:06 PM
 :) :) :) :)


Excellent implementation!
“Everything that irritates us about others can lead us to an understanding of ourselves.”



Rinart73

  • Sr. Member
  • ****
  • Status:
    Offline
    Posts:
    305
  • Discord: Rinart73#7304
    • View Profile
on: April 20, 2017, 12:53:39 AM
For some reason game says that I can't use this command. Is it for admin only?



Devious

  • Hero Member
  • *****
  • Status:
    Offline
    Posts:
    579
  • Have you seen Rusty?
    • View Profile
    • Rusty's Universe and Community
on: April 24, 2017, 04:49:49 PM
For some reason game says that I can't use this command. Is it for admin only?

For commands to work for the default player group you have to assign the permission to use this command in admin.xml



darkconsole

  • Full Member
  • ***
  • Status:
    Offline
    Posts:
    104
  • Halfcocked Rage Machine
    • View Profile
    • my game mods (contains nsfw stuff too)
on: February 17, 2018, 09:20:32 PM
This mod has been updated to use the mod folders and with fixes needed when Avorion changed to UUIDs internally.

* Command has changed to just /mothball [on|off] (the s has been dropped)

* After installing, copy mods/DccMothballing/ConfigDefault.lua to Config.lua. This way the mod can be updated without blowing away your settings in the future.
« Last Edit: February 17, 2018, 09:24:25 PM by darkconsole »



darkconsole

  • Full Member
  • ***
  • Status:
    Offline
    Posts:
    104
  • Halfcocked Rage Machine
    • View Profile
    • my game mods (contains nsfw stuff too)
on: February 10, 2019, 10:08:09 PM
This mod has been updated for 0.20.4