Decay: Difference between revisions

From Hazeron Wiki
Jump to navigation Jump to search
(→‎City Abandonment: Updated with the new abandonment mechanics.)
(Updated note on city decay. Might need some confirmation.)
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{HaxusNeeded|There are things about decay that I don't know. Haxus you may have to help with this.<br>[[Item]] decay?<br>[[Solar_System|Solar system]] decay?<br>[[Sector]] decay?<br>And of course check what I wrote. ^^;}}
{{Revision|1=Needs updating since [[Singleplayer Update]]. [[Item]] decay section could also use more information.}}
 
Everything in the universe decays over time if it is not visited or used. [[Commodities]] dropped on the ground will decay, unless placed on [[Static_Display|Static Display]]. [[Spacecraft]] slowly decay when they are without a captain or officer. [[Cities]] decay when they become deserted. Even whole [[System|solar system]]s can decay and revert back to their original state.
Everything in the universe decays over time if it is not visited or used. [[Commodities]] dropped on the ground will decay, unless placed as [[Static_Item|static item]]s. [[Spacecraft]] slowly decay when they are without a captain or officer. [[Officer]]s abandon their command if not hailed monthly. [[Cities]] decay when they become deserted. Even whole [[System|solar system]]s can decay and revert back to their original state.


==Sector Decay==
==Sector Decay==
Sector decay occurs when the master server is restarted, which happens at unscheduled intervals. At that time, certain maintenance processes can be safely and reliably run on the universe database, before any other activity is permitted.


==Solar System Decay==
Sectors are examined at that time to remove the ones that are not needed. A sector where every solar system exists in a star-field-only state is eligible for decay, unless it is a perimeter sector.


==City Decay==
A perimeter sector is one that is needed to provide the star field around a sector that contains a fully generated solar system.
[[Cities]] don't decay with out a reason, most commonly it is due to morale issues.


When a city's morale is negative the population slowly leaves.
==Solar System Decay==
Solar systems initially exist in a star-field-only state. Such solar systems contain a bare minimum of data.


When the population of a city is one or zero, the city is deserted. The [[buildings]] and [[road]]s of deserted cities crumble away, a few at every city report. After no more buildings or roads remain, the town square itself crumbles away, leaving no trace that it ever existed on the world.
The contents of a solar system are generated when needed.


===City Abandonment===
A [[Solar_System|solar system]] will decay if it has no [[unit]]s, [[spacecraft]] or [[building]]s for over a week and isn't on an active [[avatar]]'s [[land]].
{| class="wikitable" style="float:right; margin-left: 10px;"
! Days
! Penalty
|-
| 7 - 13
| style="text-align:right;" | 0
|-
| 14 - 20
| style="text-align:right;" | -1
|-
| 21 - 27
| style="text-align:right;" | -2
|-
| 28 - 34
| style="text-align:right;" | -3
|-
| 35 - 41
| style="text-align:right;" | -4
|-
| 42 - 48
| style="text-align:right;" | -5
|-
| 49 - 55
| style="text-align:right;" | -6
|-
| 56 - 62
| style="text-align:right;" | -7
|-
| 63 - 69
| style="text-align:right;" | -8
|-
| 70 - 76
| style="text-align:right;" | -9
|}
Abandonment is the primary force for [[city]] decay. Cities must be visited by an [[avatar]] to prevent abandonment. A morale penalty begins to grow 7 days after the last visit by an avatar who is online, starting at zero and increasing by one every 7 days. At first, the morale penalty is not significant. In time, the morale penalty outweighs all positive morale factors. This inevitably causes the population to dwindle to nothing.


Some cities have immunity to abandonment:
When a solar system decays, it reverts to a star-field-only state. It retains little more than its name. All data associated with individual worlds and suns is lost, such as names and claims.
* Non-capital cities are immune to the abandonment morale penalty while they have a [[Sector_Capital City|sector capital city]].
* Sector capital cities are immune to the abandonment morale penalty while the empire has an [[Empire_Capital_City|empire capital city]].
* The empire capital city does not count as a sector capital city, but a city can be both at the same time.


For the purpose of preventing abandonment, city visitation can be satisfied in two ways:
When a solar system regenerates after having decayed, it will generate as it did the first time it was generated. This means that if a [[world]] was destroyed by an [[asteroid]] before the solar system decayed, it will appear again when it is regenerated.
* '''A non-empire avatar passes through the city's solar system.''' All cities in a [[Solar_System|solar system]] are visited by the presence of an avatar who is online, regardless of political stance.
* '''An empire avatar is online.''' All cities in the empire capital city's solar system are visited when an avatar of its empire is online (at logon, avatar switch, and hourly).


====Abandonment Math====
==City Decay==
It is possible to calculate the number of days a city can be abandoned before it starts to decay.
[[Cities]] can decay if they are abandoned with zero population for an extended period of time.


MoraleMod = Total of all morale modifiers, including possible abandonment penalty.
Up to three abandoned buildings in a city will decay at each [[City_Report|city report]] cycle. Decayed buildings are listed on the city report. When a building decays, it is completely destroyed. Decay conforms to city build rules so bases will decay before cities, on any given world.  
APenalty = Current morale penalty from abandonment, if not present it is 0.
ADays = Number of days abandoned, if not present it can be between 0 and 6.
AbandonmentInterval = 7
DaysLeft = ((MoraleMod + 1) * AbandonmentInterval) - (ADays % AbandonmentInterval)
DaysMax = ((MoraleMod - APenalty + 1) * AbandonmentInterval)
<small>''As used in [http://hazeron.com/phpBB3/viewtopic.php?f=124&t=6867 HazeronAdviser].''</small>


Here is a simple table to show the maximum number of days, depending on morale modifiers. Add together the morale modifiers (excluding abandonment penalties) and follow the table.
When a city is decaying, it will send distress [[mail]]s to all avatars in its [[Chain_of_Command|chain of command]]. The final city report from a decaying city does not get auto-deleted in the mail. It is marked with a highlighted icon.  
{| class="wikitable"
! Morale Modifier Total
| style="text-align:right;" | -1
| style="text-align:right;" | 0
| style="text-align:right;" | +1
| style="text-align:right;" | +2
| style="text-align:right;" | +3
| style="text-align:right;" | +4
| style="text-align:right;" | +5
| style="text-align:right;" | +6
| style="text-align:right;" | +5
| style="text-align:right;" | +8
|-
! Maximum Days Abandoned
| style="text-align:right;" | ?*
| style="text-align:right;" | 14**
| style="text-align:right;" | 21
| style="text-align:right;" | 28
| style="text-align:right;" | 35
| style="text-align:right;" | 42
| style="text-align:right;" | 49
| style="text-align:right;" | 56
| style="text-align:right;" | 63
| style="text-align:right;" | 70
|-
| colspan=11 | <nowiki>*</nowiki> If morale is negative, the city will will revolt once [[City_Neglect|city neglect]] set it.<br>
<nowiki>**</nowiki> Morale is also 0 when the city has no population.
|}


==Spacecraft Decay==
==Spacecraft Decay==
Line 107: Line 31:
[[Spacecraft]] slowly decay in the form of environmental damage when left abandoned in unsuitable environments.
[[Spacecraft]] slowly decay in the form of environmental damage when left abandoned in unsuitable environments.


If a spacecraft is inside an [[atmosphere]] it will very slowly take damage from the environment. This includes [[world]]s with no atmosphere density, such as moons.
If a spacecraft is inside an [[atmosphere]] it will very slowly take damage from the environment reported as weather corrosion. This includes [[world]]s with no atmosphere density, such as moons, but it is instead reported as meteor hits. Severity of corrosion damage is based on the type of the atmosphere and its density.


A spacecraft in space without power will be unable to withstand the cold void of space, slowly taking damage until the hull fails.
A spacecraft in space without capacitor power will be unable to withstand the cold void of space. It will slowly take meteor damage until the hull fails.


To prevent environmental decay:
A spacecraft sitting in visible liquid takes corrosion damage based upon the type of liquid.
* Have a [[NPC]] [[officer]] or an [[avatar]] on the spacecraft's roster and have it landed on a [[Road_Slab|road slab]]
* Park the spacecraft in orbit and make sure it has [[fuel]] to maintain its power plant
* Store the spacecraft in a [[hangar]]


===Hailed by Command===
When a spacecraft is completely submerged, atmosphere damage is not applied.
All [[spacecraft]] need to be hailed once every 4 weeks or the ship will be lost to mutiny. Which ends with the officer ordering the spacecraft to self-destruct.


{| class="wikitable"
To prevent environmental decay:
|+ Since last hailed by command
* Have an [[NPC]] or [[avatar]] on the spacecraft's roster as Captain or Officer. Land at an [[Airport_Terminal|airport terminal]], [[Military_Airport_Terminal|military airport terminal]], or [[Airport_Repair_Shop|airport repair shop]].
|-
* Park the spacecraft in orbit and make sure it has [[fuel]] to maintain its power plant.  
! Days
* Store the spacecraft in a [[hangar]].
! Ship log message
* Park the spacecraft aboard another spacecraft.
|-
* Park the spacecraft inside a building.
| 0 - 6
| The crew has high spirits. Every day seems filled with anticipation.
|-
| 7 - 13
| More than a week has passed since we were last hailed by command.<br> The crew is quiet, intent on their work as they attend to their duties.
|-
| 14 - 20
| More than two weeks have passed since we last heard from command.<br> There have been some tense confrontations between the crew members.
|-
| 21 - 27
| More than three weeks have passed since we lost contact with command.<br> Some of the crew have become surly and insubordinate. Fighting among them is a daily occurance.
|}


===Officer Homesickness===
===Officer Homesickness===
If all cities on an [[officer]]'s homeworld is lost, either to decay or captured by an enemy empire, the officer will commit suicide.
NPC officers need an empire city on their homeworld. If all cities on an [[officer]]'s homeworld are lost, either to decay or captured by an enemy empire, the officer will commit suicide after a week.


When committing suicide, the officer will self-destruct the [[spacecraft]] on which he is stationed, unless there is another officer or captain on the spacecraft's roster.
When committing suicide, the commanding officer will self-destruct the [[spacecraft]] on which he is stationed, unless there is another officer or captain on the spacecraft's roster. An officer who is not in command (does not have the con), will not self-destruct the ship.


===Commander-less Officer===
==Item Decay==
If there is no [[avatar]] in charge of the homewold of an [[officer]], it will commit suicide.
[[Item]]s dropped on the ground will decay slowly, taking ??? durability damage every ???. The decay is significantly increased when there is no online [[avatar]] near the item.


The [[spacecraft]] the officer was stationed on will not be harmed.
Items placed on [[Static_Display|Static Display]] will not decay, and they will even stay on a ship after it has been [[Spacecraft_Respawn|respawned]].
 
==Item Decay==
[[Item]]s dropped on the ground will decay slowly, taking ??? durability damage every ???.


[[Category:Science]]
[[Category:Science]]
[[Category:Colonization]]
[[Category:Colonization]]

Latest revision as of 00:08, 2 April 2024

This section is in need of revision.
Please help improve it or discuss these issues on the talk page.
The reason given is: Needs updating since Singleplayer Update. Item decay section could also use more information.

Everything in the universe decays over time if it is not visited or used. Commodities dropped on the ground will decay, unless placed on Static Display. Spacecraft slowly decay when they are without a captain or officer. Cities decay when they become deserted. Even whole solar systems can decay and revert back to their original state.

Sector Decay

Sector decay occurs when the master server is restarted, which happens at unscheduled intervals. At that time, certain maintenance processes can be safely and reliably run on the universe database, before any other activity is permitted.

Sectors are examined at that time to remove the ones that are not needed. A sector where every solar system exists in a star-field-only state is eligible for decay, unless it is a perimeter sector.

A perimeter sector is one that is needed to provide the star field around a sector that contains a fully generated solar system.

Solar System Decay

Solar systems initially exist in a star-field-only state. Such solar systems contain a bare minimum of data.

The contents of a solar system are generated when needed.

A solar system will decay if it has no units, spacecraft or buildings for over a week and isn't on an active avatar's land.

When a solar system decays, it reverts to a star-field-only state. It retains little more than its name. All data associated with individual worlds and suns is lost, such as names and claims.

When a solar system regenerates after having decayed, it will generate as it did the first time it was generated. This means that if a world was destroyed by an asteroid before the solar system decayed, it will appear again when it is regenerated.

City Decay

Cities can decay if they are abandoned with zero population for an extended period of time.

Up to three abandoned buildings in a city will decay at each city report cycle. Decayed buildings are listed on the city report. When a building decays, it is completely destroyed. Decay conforms to city build rules so bases will decay before cities, on any given world.

When a city is decaying, it will send distress mails to all avatars in its chain of command. The final city report from a decaying city does not get auto-deleted in the mail. It is marked with a highlighted icon.

Spacecraft Decay

Environmental Decay

Spacecraft slowly decay in the form of environmental damage when left abandoned in unsuitable environments.

If a spacecraft is inside an atmosphere it will very slowly take damage from the environment reported as weather corrosion. This includes worlds with no atmosphere density, such as moons, but it is instead reported as meteor hits. Severity of corrosion damage is based on the type of the atmosphere and its density.

A spacecraft in space without capacitor power will be unable to withstand the cold void of space. It will slowly take meteor damage until the hull fails.

A spacecraft sitting in visible liquid takes corrosion damage based upon the type of liquid.

When a spacecraft is completely submerged, atmosphere damage is not applied.

To prevent environmental decay:

Officer Homesickness

NPC officers need an empire city on their homeworld. If all cities on an officer's homeworld are lost, either to decay or captured by an enemy empire, the officer will commit suicide after a week.

When committing suicide, the commanding officer will self-destruct the spacecraft on which he is stationed, unless there is another officer or captain on the spacecraft's roster. An officer who is not in command (does not have the con), will not self-destruct the ship.

Item Decay

Items dropped on the ground will decay slowly, taking ??? durability damage every ???. The decay is significantly increased when there is no online avatar near the item.

Items placed on Static Display will not decay, and they will even stay on a ship after it has been respawned.