Difference between revisions of "Protection Meter"

From TerraFirmaCraft Wiki
Jump to: navigation, search
m (just the radius, from 3x3 to 5x5. Please Kittychanley, don't hit me!! I swear I won't edit the wiki again!)
 
m (Updated Block Template)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|invimage=Protection Meter
 
|invimage=Protection Meter
 
|gravity=No
 
|gravity=No
|transparent=No
+
|luminance=Yes, 0 to 8
|tool=
+
|tool= Pick
 
|stackable= Yes, 32
 
|stackable= Yes, 32
 
|size= Very Small
 
|size= Very Small
 
|weight= Heavy
 
|weight= Heavy
|blockid= 2022
+
|blockid= SpawnMeter
|notes=
+
 
}}
 
}}
  
The protection meter block shows the amount of accumulated spawn protection in a specific chunk where it is placed, going from red to green to indicate a maximum of 16 days protection. With the new adjustable length of year this could mean more, or less, than a ½ month of protection. Note that the maximum spawn protection for a chunk is 6 months in game time, regardless of how few, or many, days the year makes up.
+
== Obtaining ==
 
+
Spawn Protection keeps hostile mobs from spawning in a 5x5 chunk area. It increases the longer a player stays in an area, and decreases when they leave. The protection meter is simply a way of knowing how much protection is in an area, it does not affect gain or loss of the protection.
+
 
+
== Crafting ==
+
  
 +
The protection meter is crafted with six [[Smooth Stone]], two glass, and a single [[Gem|Chipped Gem]].
 
{{Grid/Crafting Table
 
{{Grid/Crafting Table
|A1= Smooth (Andesite), Smooth (Gabbro), Smooth (Slate), Smooth (Chert) |B1= Smooth (Andesite), Smooth (Gabbro), Smooth (Slate), Smooth (Chert) |C1= Smooth (Andesite), Smooth (Gabbro), Smooth (Slate), Smooth (Chert)
+
|A1= Smooth (Chalk); Smooth (Gneiss); Smooth (Diorite); Smooth (Andesite) |B1= Smooth (Chert); Smooth (Marble); Smooth (Gabbro); Smooth (Basalt) |C1= Smooth (Claystone); Smooth (Phyllite); Smooth (Granite); Smooth (Dacite)
|A2= Glass |B2= Chipped Beryl |C2= Glass
+
|A2= Glass |B2= Chipped Agate; Chipped Amethyst; Chipped Beryl; Chipped Diamond; Chipped Emerald; Chipped Garnet; Chipped Jade; Chipped Jasper; Chipped Opal; Chipped Ruby; Chipped Sapphire; Chipped Topaz; Chipped Tourmaline |C2= Glass
|A3= Smooth (Andesite), Smooth (Gabbro), Smooth (Slate), Smooth (Chert) |B3= Smooth (Andesite), Smooth (Gabbro), Smooth (Slate), Smooth (Chert) |C3= Smooth (Andesite), Smooth (Gabbro), Smooth (Slate), Smooth (Chert)
+
|A3= Smooth (Conglomerate); Smooth (Quartzite); Smooth (Diorite); Smooth (Rhyolite) |B3= Smooth (Dolomite); Smooth (Schist); Smooth (Gabbro); Smooth (Andesite) |C3= Smooth (Limestone); Smooth (Slate); Smooth (Granite); Smooth (Basalt)
 
|Output= Protection Meter
 
|Output= Protection Meter
 
}}
 
}}
  
A protection meter can be crafted using any smooth stone and any gem of chipped quality.
+
== Usage ==
 +
 
 +
The protection meter block shows the amount of accumulated spawn protection in the specific chunk where it is placed, going from red to green to indicate the maximum amount of accumulated protection time. The block will also emit light as the meter increases, increasing from a light level of 0 for no protection, to 8 for max.
 +
 
 +
=== Spawn Protection ===
 +
 
 +
Spawn Protection prevents hostile mobs from spawning in an area.
 +
 
 +
==== Increasing ====
 +
 
 +
For every in-game hour that a player spends in a single chunk, each chunk located in a 5x5 chunk area centered on the chunk containing a player will increase its protection timer by the amount set in the configs (default: 8 Hours). '''''If the player leaves a chunk before spending an in-game hour in it, no protection is accumulated.''''' When a chunk is originally generated, the timer is set to a configurable buffer (default: 24 hours), meaning that the player must obtain at least a day's worth of spawn protection before the timer will have any effect on mob spawning. ''For Example: If a player stands in a newly generated chunk for 5 in-game hours with default config settings, each chunk in the 5x5 chunk area centered on the player's chunk will have a spawn protection timer of 16 in-game hours. This means that no hostile mobs will spawn in that area for at least 16 hours in-game.''
 +
 
 +
==== Decreasing ====
 +
 
 +
At the start of every in-game hour, if a chunk is outside of the 5x5 chunk area around the player, its spawn protection timer will decrease for each hour that passes. The timer will decrease to a minimum of the configurable buffer before stopping. ''For Example: If the player in the above example moves one chunk to the right, the 5 chunks on the far left of the old 5x5 chunk area are no longer within the new 5x5 chunk area, and their spawn protection timers will start decreasing.''
 +
 
 +
==== Measuring ====
 +
 
 +
The protection meter is simply a way of knowing how much protection is in the chunk it is placed; it does not affect gain or loss of the protection. Each bar on the protection meter represents 48 hours of protection in the chunk, with a full green meter representing 16 days of protection or more. ''For Example: If a protection meter placed in a chunk shows 2 bars (dark red), that chunk must be outside the 5x5 chunk area around a player for at least 4 in-game days before any mobs will spawn in the chunk.''
 +
 
 +
==== Unloading Chunks ====
 +
 
 +
Every chunk in a world is able to save a time-stamp of the last time that it was visited by a player. This means that even if a chunk is unloaded from memory, the timer will properly update with the amount of time that has passed once the chunk has been loaded again by a player. However, it is possible that the protection meter will not properly update in reloaded chunks, so it should be broken and placed back down again to confirm the reading.
 +
 
 +
== Configuration ==
 +
 
 +
{{main|Configuration}}
  
== [[Configuration]] ==
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 36: Line 57:
 
| {{TFCOptionGroup|protection| |Options affecting spawn protection.}}
 
| {{TFCOptionGroup|protection| |Options affecting spawn protection.}}
 
|-
 
|-
| {{TFCOptionVar|maxProtectionMonths|10|The maximum number of months of spawn protection that can accumulate in a 3x3 chunk.}}
+
| {{TFCOptionVar|maxProtectionMonths|10|The maximum number of months of spawn protection that can accumulate.}}
 
|-
 
|-
| {{TFCOptionVar|protectionGain|8|The number of hours of spawn protection added to a 3x3 chunk for each hour that a player spends in it.}}
+
| {{TFCOptionVar|protectionBuffer|24|The minimum number of hours of protection that must be accumulated in a chunk in order to bypass the buffer and prevent hostile mob spawning.}}
 
+
|-
 +
| {{TFCOptionVar|protectionGain|8|The number of hours of spawn protection added to a 5x5 chunk for each hour that a player spends in it.}}
 
|}
 
|}
  
{{Blocks}}
+
== History ==
  
 +
{{History|b}}
 +
{{History||v2 Build 52|Added spawn protection.}}
 +
{{History||Build 53|Added protection meter.}}
 +
{{History||0.77.5|Spawn protection radius increased to a 5x5 chunk area centered on the player.}}
 +
{{History||0.79.9|Added config for protection buffer.}}
 +
{{History|foot}}
 +
 +
 +
{{Blocks}}
 
[[Category:Manufactured Items]]
 
[[Category:Manufactured Items]]

Latest revision as of 00:37, 13 March 2015

Protection Meter
Protection Meter.gif
Protection Meter
Gravity

No

Luminance

Yes, 0 to 8

Tool

Grid Steel Pickaxe.png

Stackable

Yes, 32

Flammable

No

Weight

Heavy

Size

Very Small

BlockID

terrafirmacraft:SpawnMeter

Obtaining

The protection meter is crafted with six Smooth Stone, two glass, and a single Chipped Gem.

Smooth (Chalk) Smooth (Chert) Smooth (Claystone) Grid layout Arrow (small).png Protection Meter
Glass Chipped Agate Glass
Smooth (Conglomerate) Smooth (Dolomite) Smooth (Limestone)

Usage

The protection meter block shows the amount of accumulated spawn protection in the specific chunk where it is placed, going from red to green to indicate the maximum amount of accumulated protection time. The block will also emit light as the meter increases, increasing from a light level of 0 for no protection, to 8 for max.

Spawn Protection

Spawn Protection prevents hostile mobs from spawning in an area.

Increasing

For every in-game hour that a player spends in a single chunk, each chunk located in a 5x5 chunk area centered on the chunk containing a player will increase its protection timer by the amount set in the configs (default: 8 Hours). If the player leaves a chunk before spending an in-game hour in it, no protection is accumulated. When a chunk is originally generated, the timer is set to a configurable buffer (default: 24 hours), meaning that the player must obtain at least a day's worth of spawn protection before the timer will have any effect on mob spawning. For Example: If a player stands in a newly generated chunk for 5 in-game hours with default config settings, each chunk in the 5x5 chunk area centered on the player's chunk will have a spawn protection timer of 16 in-game hours. This means that no hostile mobs will spawn in that area for at least 16 hours in-game.

Decreasing

At the start of every in-game hour, if a chunk is outside of the 5x5 chunk area around the player, its spawn protection timer will decrease for each hour that passes. The timer will decrease to a minimum of the configurable buffer before stopping. For Example: If the player in the above example moves one chunk to the right, the 5 chunks on the far left of the old 5x5 chunk area are no longer within the new 5x5 chunk area, and their spawn protection timers will start decreasing.

Measuring

The protection meter is simply a way of knowing how much protection is in the chunk it is placed; it does not affect gain or loss of the protection. Each bar on the protection meter represents 48 hours of protection in the chunk, with a full green meter representing 16 days of protection or more. For Example: If a protection meter placed in a chunk shows 2 bars (dark red), that chunk must be outside the 5x5 chunk area around a player for at least 4 in-game days before any mobs will spawn in the chunk.

Unloading Chunks

Every chunk in a world is able to save a time-stamp of the last time that it was visited by a player. This means that even if a chunk is unloaded from memory, the timer will properly update with the amount of time that has passed once the chunk has been loaded again by a player. However, it is possible that the protection meter will not properly update in reloaded chunks, so it should be broken and placed back down again to confirm the reading.

Configuration

Main article: Configuration
Option Default
Value
Description
protection Options affecting spawn protection.
maxProtectionMonths 10
The maximum number of months of spawn protection that can accumulate.
protectionBuffer 24
The minimum number of hours of protection that must be accumulated in a chunk in order to bypass the buffer and prevent hostile mob spawning.
protectionGain 8
The number of hours of spawn protection added to a 5x5 chunk for each hour that a player spends in it.

History

Beta
v2 Build 52Added spawn protection.
Build 53Added protection meter.
0.77.5Spawn protection radius increased to a 5x5 chunk area centered on the player.
0.79.9Added config for protection buffer.


Navigation
Construction Barrels • Blueprints • Bricks • Firepit • Plank Blocks • Protection Meter • Quern • Smooth Stone • Straw & Hide Bed • Support Beams • Thatch
Environment Altitude • The Player • Calendar • Cobblestone • Logs • Mobs • Saplings • Seasons • Stone • Temperature • Trees
Food Agriculture • Animal Husbandry • Berries • Fruit Trees
Materials Charcoal • Coal • Double Ingots • Double Sheets • Flux • Gems • Gunpowder • Hides • Ingots • Leather • Lumber • Minerals • Pottery • Redstone/Powders • Sheets • Sticks • Straw • Unshaped Metal • Wool
Metalworking Alloys • Anvils • Armor • Bellows • Blast Furnace • Bloomery • Tool Molds • Crucible • Forge • Gold Pan • Metals • Ores • Sluice
Tools & Weapons Arrows • Axe • Buckets • Chisel • Firestarter • Flint & Steel • Hammer • Hoe • Javelin • Knife • Mace • Pickaxe • Prospector's Pick • Saw • Shovel • Sword • Scythe • Shears • Spindle
Other Crafting Differences • Item Index