Change Crate.Lifetime from 'seconds' to ticks

As far as I could tell, this was the last place that still
used 'seconds' instead of ticks, apart from
some sound notification intervals (which are better
converted to real [milli]seconds).

Also renamed ScaredyCat.PanicLength to PanicDuration for
consistency and easier finding.
This commit is contained in:
reaperrr
2021-03-21 00:51:43 +01:00
committed by teinarss
parent e3fd54e147
commit 53e6d974f0
9 changed files with 57 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ CRATE.plain:
CRATE:
Inherits: ^Crate
Crate:
Lifetime: 240
Duration: 6000
GiveCashCrateAction:
Amount: 1000
SelectionShares: 20

View File

@@ -3,7 +3,7 @@ crate:
Tooltip:
Name: Crate
Crate:
Lifetime: 120
Duration: 3000
TerrainTypes: Sand, Rock, Transition, Spice, SpiceSand, Dune, Concrete
GiveCashCrateAction@1:
Amount: 750

View File

@@ -56,7 +56,7 @@ HARV:
^Crate:
Crate:
Lifetime: 0
Duration: 0
MONEYCRATE:
Tooltip:

View File

@@ -1129,7 +1129,7 @@
GenericName: Crate
ShowOwnerRow: false
Crate:
Lifetime: 180
Duration: 4500
TerrainTypes: Clear, Rough, Road, Ore, Beach, Water
RenderSprites:
Palette: effect

View File

@@ -458,7 +458,7 @@
Tooltip:
Name: Crate
Crate:
Lifetime: 180
Duration: 4500
TerrainTypes: Clear, Rough, Sand, Road, DirtRoad, Tiberium, BlueTiberium, Veins, Green, Pavement
RenderSprites:
Palette: terraindecoration