Decay: Difference between revisions

From Hazeron Wiki
Jump to navigation Jump to search
m (Lower case please. Bad Dean.)
(Updated note on city decay. Might need some confirmation.)
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Science]]
{{Revision|1=Needs updating since [[Singleplayer Update]]. [[Item]] decay section could also use more information.}}
[[Category:Colonization]]
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.
 
==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.


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.
A perimeter sector is one that is needed to provide the star field around a sector that contains a fully generated solar system.


==City Decay==
==Solar System Decay==
[[Cities]] don't decay with out a reason, most commonly it is due to morale issues.
Solar systems initially exist in a star-field-only state. Such solar systems contain a bare minimum of data.


When a city's morale is negative the population slowly leaves.
The contents of a solar system are generated when needed.


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.
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]].


===City 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.
{| class="wikitable" style="float:right; margin-left: 10px;"
! Days
! Penalty
|-
| 7 - 13
| style="text-align:right;" | -1
|-
| 14 - 20
| style="text-align:right;" | -2
|-
| 21 - 27
| style="text-align:right;" | -3
|-
| 28 - 34
| style="text-align:right;" | -4
|-
| 35 - 41
| style="text-align:right;" | -5
|-
| 42 - 48
| style="text-align:right;" | -6
|-
| 49 - 55
| style="text-align:right;" | -7
|-
| 56 - 62
| style="text-align:right;" | -8
|-
| 63 - 69
| 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, 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.


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.
* '''An avatar passes through the city's solar system.''' All cities in a system are visited by the presence of an avatar who is online, regardless of political stance.
* '''An avatar remotely visits their home sector.''' An avatar can [[Spawning#Spawn_Tieing|declare a home city]]. The solar system containing an avatar's home city is visited whenever the avatar is online, wherever they are. In addition, all solar systems in the same sector as their home city, that contain cities of their empire, are also visited.


====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;" | 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;" | 7*
| 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
|}
<nowiki>*</nowiki> If morale is 0, the city is likely deserted and will start decaying before long.


==Spacecraft Decay==
==Spacecraft Decay==
===Environmental Decay===
===Environmental Decay===
[[Spacecraft]] slowly decay in the form of environmental damage. If a spacecraft is inside an atmosphere it will very slowly take damage from the environment.
[[Spacecraft]] slowly decay in the form of environmental damage when left abandoned in unsuitable environments.


There are two ways to prevent this:
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.
* Have an [[officer]] on the spacecraft and either have it landed on a [[slab]] or in orbit
* Store the spacecraft in a [[hangar]]


===Hailed by Command===
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.
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"
A spacecraft sitting in visible liquid takes corrosion damage based upon the type of liquid.
|+ Since last hailed by command
 
|-
When a spacecraft is completely submerged, atmosphere damage is not applied.
! Days
 
! Ship log message
To prevent environmental decay:
|-
* 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]].
| 0 - 6
* Park the spacecraft in orbit and make sure it has [[fuel]] to maintain its power plant.  
| The crew has high spirits. Every day seems filled with anticipation.
* Store the spacecraft in a [[hangar]].
|-
* Park the spacecraft aboard another spacecraft.
| 7 - 13
* Park the spacecraft inside a building.
| 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]].
 
[[Category:Science]]
[[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.