<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.perfecttower2.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xmmmx</id>
	<title>The Perfect Tower II - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.perfecttower2.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xmmmx"/>
	<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/Special:Contributions/Xmmmx"/>
	<updated>2026-04-28T16:32:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=Factory&amp;diff=545</id>
		<title>Factory</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=Factory&amp;diff=545"/>
		<updated>2020-09-02T20:24:57Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: /* Production */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The Factory''' is a building where you make production modules. Production modules produce a specific amount of resources per second.&lt;br /&gt;
&lt;br /&gt;
To craft production modules you need to either purchase your materials or refine and combine your own with machinery.{{Building|Tier=10|ConversionRate=150|Image=Factory.png|Color=Red|ColorCode=red}}&lt;br /&gt;
You need materials from the [[Mine]] in order to refine better materials.&lt;br /&gt;
[[File:Factory2.png|thumb|1. Crafting Grid   2. Inventory  3. Machines 4. Recipes  5. Production  6. Shop  7. Refining]]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Items.png|thumb|From left to right: ingot, plate, circuit plate, screw/bolt, wire, cable, metal bar/rod, Circuit Wires,pipe, ring, dust.]]&lt;br /&gt;
&lt;br /&gt;
==Upgrades==&lt;br /&gt;
&lt;br /&gt;
Upgrades to the factory increases inventory space, crafting grid space, and unlocks new recipes.&lt;br /&gt;
==Main Screen==&lt;br /&gt;
===Inventory===&lt;br /&gt;
Located on the bottom right. Things you buy and make can be placed here. &lt;br /&gt;
&lt;br /&gt;
Click and drag the items to move them around, and into the crafting grid.&lt;br /&gt;
&lt;br /&gt;
Right click with an empty mouse picks up half of the selected item. Right click with a full mouse places down one of the held items, holding right click with a full mouse and dragging places one item on each empty tile.&lt;br /&gt;
&lt;br /&gt;
Clicking on the white cube with an X through it will delete the items you are holding.&lt;br /&gt;
&lt;br /&gt;
===Crafting Grid===&lt;br /&gt;
Located on the left of the factory screen&lt;br /&gt;
&lt;br /&gt;
You can display recipes here from the recipes list, items needed are represented by transparent icons, you can fill them in by dragging the items in from your inventory.&lt;br /&gt;
&lt;br /&gt;
==Machines==&lt;br /&gt;
Machines are used to process items into different items, which can find them in the recipe list. &lt;br /&gt;
&lt;br /&gt;
When a machine is producing, right clicking the machine removes one of the items, and shift right clicking removes all items at once from the machine. &lt;br /&gt;
&lt;br /&gt;
Every tier of machine is twice as fast as the previous tier.&lt;br /&gt;
===Oven===&lt;br /&gt;
The oven is used to turn ore and dust into ingots.&lt;br /&gt;
&lt;br /&gt;
Note: It is not advised to turn ore directly into ingots, and instead crush it first into dust as this doubles your ingot output per ore.&lt;br /&gt;
&lt;br /&gt;
===Assembly===&lt;br /&gt;
The assembly is used to turn cables into circuit wires.&lt;br /&gt;
&lt;br /&gt;
===Refiner===&lt;br /&gt;
The refiner is used to turn ingots into cables, cables into wires, and plates into circuit plates.&lt;br /&gt;
&lt;br /&gt;
===Crusher===&lt;br /&gt;
The crusher is used to turn ingots and ore into dust.&lt;br /&gt;
&lt;br /&gt;
===Cutter===&lt;br /&gt;
The cutter is used to turn metal rods into bolts.&lt;br /&gt;
&lt;br /&gt;
===Presser===&lt;br /&gt;
The presser is used to turn rubber balls and ingots into plates, and stacked plates into dense plates.&lt;br /&gt;
&lt;br /&gt;
===Mixer===&lt;br /&gt;
The mixer is used to turn ore lumps into dust.&lt;br /&gt;
&lt;br /&gt;
This allows you to combine lower tier dusts into a higher tier at a 1:8 ratio.&lt;br /&gt;
&lt;br /&gt;
===Belt===&lt;br /&gt;
Belts do not make any items, instead they double your shard refining speed.&lt;br /&gt;
&lt;br /&gt;
===Shaper===&lt;br /&gt;
The shaper turns ingots into metal rods, metal rods into rings, and plates into pipes.&lt;br /&gt;
&lt;br /&gt;
===Boiler===&lt;br /&gt;
The boiler turns blocks into dense blocks, and can also revert dust into a previous tier at a 1:4 ratio.&lt;br /&gt;
&lt;br /&gt;
==Recipes==&lt;br /&gt;
The recipe tab is where you find all the machines, producers, and items you can't make with machines.&lt;br /&gt;
&lt;br /&gt;
Clicking the cross-hair icon of a recipe adds transparent items onto the crafting grid as a guide for you to fill out.&lt;br /&gt;
&lt;br /&gt;
==Production==&lt;br /&gt;
The producer tab is where you install your producers. &lt;br /&gt;
&lt;br /&gt;
They make various resources at a specific rate, which also runs when offline, as in when you close your game and come back. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Producers&lt;br /&gt;
!Name / Tier&lt;br /&gt;
!Sprite&lt;br /&gt;
!Production / Sec. (Default)&lt;br /&gt;
!Production / Sec. (Town Resources)&lt;br /&gt;
|-&lt;br /&gt;
|T1&lt;br /&gt;
|[[File:Producer T1.png|alt=Producer (T1)|border|center|frameless]]&lt;br /&gt;
|0.02&lt;br /&gt;
|0.25&lt;br /&gt;
|-&lt;br /&gt;
|T2&lt;br /&gt;
|[[File:Producer T2.png|alt=Producer (T2)|center|frameless]]&lt;br /&gt;
|5.0&lt;br /&gt;
|50.0&lt;br /&gt;
|-&lt;br /&gt;
|T3&lt;br /&gt;
|[[File:Producer T3.png|alt=Producer (T3)|center|frameless]]&lt;br /&gt;
|275.0&lt;br /&gt;
|3000.0&lt;br /&gt;
|-&lt;br /&gt;
|T4&lt;br /&gt;
|[[File:Producer T4.png|alt=Producer (T4)|center|frameless]]&lt;br /&gt;
|75000.0&lt;br /&gt;
|250000.0&lt;br /&gt;
|-&lt;br /&gt;
|T5&lt;br /&gt;
|[[File:Producer T5.png|alt=Producer (T5)|center|frameless]]&lt;br /&gt;
|50000000.0&lt;br /&gt;
|400000000.0&lt;br /&gt;
|-&lt;br /&gt;
|Gems&lt;br /&gt;
|[[File:Producer Gems.png|alt=Producer (Gems)|center|frameless]]&lt;br /&gt;
|0.025&lt;br /&gt;
| -&lt;br /&gt;
|-&lt;br /&gt;
|Exotic&lt;br /&gt;
|[[File:Producer Exotic.png|alt=Producer (Exotic)|center|frameless]]&lt;br /&gt;
|0.001&lt;br /&gt;
| -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Shop==&lt;br /&gt;
The shop is where you can buy materials and items with red cubes, without having to make them.&lt;br /&gt;
&lt;br /&gt;
The items in the shop however have a stock limit, that replenishes over time when not capped. Shift clicking buys five at a time, and right clicking buys the entire stock at once.&lt;br /&gt;
&lt;br /&gt;
==Refining==&lt;br /&gt;
The refining tab is where you refine shards dug up from [[Mine|the mine]] into ores.&lt;br /&gt;
&lt;br /&gt;
This allows you to get higher tier items than can be found in the shop.&lt;br /&gt;
&lt;br /&gt;
The belt is important is reducing the time it takes to refine material.&lt;br /&gt;
&lt;br /&gt;
==Skills==&lt;br /&gt;
[[File:Factoryskills.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
===Exotic===&lt;br /&gt;
[[File:FactoryExotic.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
====Machine Handling====&lt;br /&gt;
Allows you to pick up machines from their machine slot via right click and place them back via left click.{{PerfectNavigation}}&lt;br /&gt;
[[Category:Buildings]]&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Exotic).png&amp;diff=544</id>
		<title>File:Producer (Exotic).png</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Exotic).png&amp;diff=544"/>
		<updated>2020-09-02T20:23:24Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A factory resource producer (Exotic).&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Gems).png&amp;diff=543</id>
		<title>File:Producer (Gems).png</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Gems).png&amp;diff=543"/>
		<updated>2020-09-02T20:22:50Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A factory resource producer (Gems).&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Town)_T5.png&amp;diff=542</id>
		<title>File:Producer (Town) T5.png</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Town)_T5.png&amp;diff=542"/>
		<updated>2020-09-02T20:22:21Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A factory resource producer (T5).&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Town)_T4.png&amp;diff=541</id>
		<title>File:Producer (Town) T4.png</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Town)_T4.png&amp;diff=541"/>
		<updated>2020-09-02T20:21:50Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A factory resource producer (T4).&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Town)_T3.png&amp;diff=540</id>
		<title>File:Producer (Town) T3.png</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Town)_T3.png&amp;diff=540"/>
		<updated>2020-09-02T20:19:46Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A factory resource producer (T3).&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Town)_T2.png&amp;diff=539</id>
		<title>File:Producer (Town) T2.png</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Town)_T2.png&amp;diff=539"/>
		<updated>2020-09-02T20:18:51Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A factory resource producer (T2).&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Town)_T1.png&amp;diff=538</id>
		<title>File:Producer (Town) T1.png</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=File:Producer_(Town)_T1.png&amp;diff=538"/>
		<updated>2020-09-02T20:14:51Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A factory resource producer (T1).&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=Laboratory&amp;diff=537</id>
		<title>Laboratory</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=Laboratory&amp;diff=537"/>
		<updated>2020-08-08T18:46:03Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: /* Building tiers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Building|Image=Lab.png|Tier=6|ConversionRate=400|Color=Green|ColorCode=#00FE3F}}&lt;br /&gt;
The '''laboratory''' is a building where you perform various experiments in order to unlock [[modules]].&lt;br /&gt;
&lt;br /&gt;
Experiments unlock [[modules]] accordingly to it's respective element.&lt;br /&gt;
==Experiments==&lt;br /&gt;
There are 12 different experiments in the laboratory.&lt;br /&gt;
&lt;br /&gt;
The experiments function as small incremental games, where the reward for progressing in them are [[modules]].&lt;br /&gt;
&lt;br /&gt;
In the future, experiments will feature their own prestige systems.&lt;br /&gt;
&lt;br /&gt;
===Neutral===&lt;br /&gt;
[[File:NeutralExperiment.png|thumb|The Neutral Experiment|alt=|none]]&lt;br /&gt;
The goal of the Neutral Experiment is to expand a sphere.&lt;br /&gt;
&lt;br /&gt;
Upgrades increases how fast the sphere grows.&lt;br /&gt;
&lt;br /&gt;
Expanding converts current growth into maximum growth, which resets the sphere back to size 0.&lt;br /&gt;
&lt;br /&gt;
===Fire===&lt;br /&gt;
[[File:Fire.png|thumb|The Fire Experiment|alt=|none]]&lt;br /&gt;
The goal of the Fire Experiment is to raise the temperature gauge. &lt;br /&gt;
&lt;br /&gt;
Heaters increase temperature per tick. &lt;br /&gt;
&lt;br /&gt;
Tickers reduce the time per tick.&lt;br /&gt;
&lt;br /&gt;
Insulators reduce the percentage of temperature lost per minute.&lt;br /&gt;
&lt;br /&gt;
Upgrades of a higher tier produce upgrades of their previous tier.&lt;br /&gt;
&lt;br /&gt;
===Electricity===&lt;br /&gt;
[[File:Electricity_Experiment.png|thumb|The Electricity Experiment|alt=|none]]&lt;br /&gt;
The goal of the Electricity Experiment is to raise the amperage.&lt;br /&gt;
&lt;br /&gt;
Each coil (battery) starts with 1 wrap (cell), with wraps capping at 20 per coil and coils capping at 5.&lt;br /&gt;
&lt;br /&gt;
Each wrap adds 1V on the coil it's on.&lt;br /&gt;
&lt;br /&gt;
The total voltage is calculated with the product of voltages of all coils.&lt;br /&gt;
&lt;br /&gt;
Each wrap's material can be upgraded to reduce it's resistance.&lt;br /&gt;
&lt;br /&gt;
The resistance of a coil is the average of the resistances of all wraps in that coil.&lt;br /&gt;
&lt;br /&gt;
Total resistance is the average of the resistances of all coils&lt;br /&gt;
&lt;br /&gt;
Amperage is calculated with Voltage(V) / Resistance(Ohm) &lt;br /&gt;
===Water===&lt;br /&gt;
[[File:WaterExperiment.png|thumb|The Water Experiment|alt=|none]]&lt;br /&gt;
The goal of the Water Experiment is to pump up to or more of a certain amount of water and then cool down said amount of water to a certain temperature.. &lt;br /&gt;
&lt;br /&gt;
The pump produces water. '''Warning: Water can't be drained as of build &amp;quot;open alpha 0.1.8&amp;quot;, If you pump too much water you may not be able to complete the experiment in a reasonable amount of time.'''&lt;br /&gt;
&lt;br /&gt;
The cooler lowers the temperature of the water.&lt;br /&gt;
&lt;br /&gt;
The battery increases the power output of both the pump and the cooler, increasing their efficiency. The battery keeps on building energy over time, but also resets the energy pool when upgraded, so upgrading the battery might make things worse.  &lt;br /&gt;
===Nature===&lt;br /&gt;
[[File:NatureExperiment.png|thumb|The Nature Experiment|alt=|none]]&lt;br /&gt;
The goal of the nature experiment is to grow different varieties of plants.&lt;br /&gt;
&lt;br /&gt;
Plant seeds in the grid, water and then wait for plants to grow. Click the plants with an empty mouse to harvest when ready, and use the shovel to delete seeds/plants.&lt;br /&gt;
&lt;br /&gt;
Adding or removing temperature, along with choosing day or night, can affect the flower mutation. &lt;br /&gt;
&lt;br /&gt;
Experiment with these options to find new species.&lt;br /&gt;
&lt;br /&gt;
Harvesting plants also rewards points which can be spent to increase the time which watering lasts.&lt;br /&gt;
&lt;br /&gt;
===Earth===&lt;br /&gt;
[[File:EarthExperiment.png|thumb|The Earth Experiment|alt=|none]]&lt;br /&gt;
The goal of the Earth Experiment is to get a certain amount of density. &lt;br /&gt;
&lt;br /&gt;
Drills dig up earth, upgrades collect earth faster. Additional drills can be purchased. Upgrades and drills cost increase exponentially.  &lt;br /&gt;
&lt;br /&gt;
Compression reduces volume/diameter and raises density. Eventually, compression reduces stability, which reduces mass and will eventually reduce density. Compression speed doesn't seem to effect stability decrease, but compression mode does reduce stability way earlier for faster density speed.&lt;br /&gt;
&lt;br /&gt;
'''Compression modes:'''&lt;br /&gt;
&lt;br /&gt;
*Volantre (10%): 10% compression level, multiplies density by 1.1&lt;br /&gt;
*Strawman (35%): 35% compression level, multiplies density by 1.35&lt;br /&gt;
*HYUP (80%): 80% compression level, multiplies density by 1.8&lt;br /&gt;
&lt;br /&gt;
Turning off compression reduces density, and stability slowly rises at a constant pace regardless of drill tiers/amount. &lt;br /&gt;
&lt;br /&gt;
===Air===&lt;br /&gt;
[[File:AirExperiment.png|thumb|The Air Experiment|alt=|none]]&lt;br /&gt;
The goal of the Air Experiment is to build up pressure inside a chamber&lt;br /&gt;
&lt;br /&gt;
===='''&amp;lt;u&amp;gt;Compressors&amp;lt;/u&amp;gt;'''====&lt;br /&gt;
Take in oxygen and force it into the chamber. You can buy multiple compressors. The upgrades for compressors are:&lt;br /&gt;
&lt;br /&gt;
*Capacity: How much oxygen a compressor can hold.&lt;br /&gt;
*Power: How fast the compressor pushes oxygen into the tank, aka how quickly the compressor bar goes from 100% to 0%&lt;br /&gt;
*Recharge: How fast the compressor fills up with oxygen, as in how fast the compressor bar goes from 0% to 100%&lt;br /&gt;
&lt;br /&gt;
===='''&amp;lt;u&amp;gt;Hulls&amp;lt;/u&amp;gt;'''====&lt;br /&gt;
Increase oxygen retention rate, as in makes sure oxygen doesn't leak out.&lt;br /&gt;
&lt;br /&gt;
===Darkness===&lt;br /&gt;
[[File:DarknessExperiment.png|thumb|The Darkness Experiment|alt=|left]]&lt;br /&gt;
[[File:Dark take two.png|thumb|Visual representation]]&lt;br /&gt;
[[File:Darkness example tutorial.gif|none|thumb|Example of how to use darkness experiment]]&lt;br /&gt;
The goal of the Darkness Experiment is to find particles in the dark. There is a bug where the graph shows up empty. Simply exit the laboratory, enter a quick tower run to change scenes and come back. If that does not fix darkness experiment, try changing the graphics settings. &lt;br /&gt;
&lt;br /&gt;
There are three sliders that help locate and find a particle:&lt;br /&gt;
&lt;br /&gt;
*'''Angle:''' Rotates direction, to help directly face a particle, or get a particle within the scanning angle range. When a particle is inside the scanning angle range, the graph starts to form a smooth wave that moves from right of the graph to the left of the graph. Max height of the smooth wave is achieved when facing directly at the particle, with a smaller smooth wave the farther the particle is from exact direction.&lt;br /&gt;
*'''Noise filter:''' Lowers how impactful noise is on the graph, as noise is just random readings on the graph that makes finding a wave difficult. 100% noise filter lowers impact to 0, resulting in an empty and useless graph.&lt;br /&gt;
*'''Acceleration:''' Apparently is speed instead of acceleration. Changes how fast travel speed is in a direction. When getting closer to a particle, the graph smooth wave gets bigger, and a button starts to appear at the top right showing how close the particle is. Once the particle is in reach, clicking the button collects the particle. Neglecting to capture the particle results in moving past the particle and getting out of range.&lt;br /&gt;
&lt;br /&gt;
There are two upgrades to help find a particle:&lt;br /&gt;
&lt;br /&gt;
*'''Scan angle:''' Increases the search angle for a particle, allowing for more accuracy with using the angle slider.&lt;br /&gt;
*'''Noise reduction:''' Reduces base noise, not affecting the smooth wave at all.&lt;br /&gt;
&lt;br /&gt;
===Light===&lt;br /&gt;
[[File:LightExperiment.png|thumb|The Light Experiment|alt=|none]]&lt;br /&gt;
The goal of the Light Experiment is to create as much light as possible.&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;u&amp;gt;Chamber&amp;lt;/u&amp;gt;====&lt;br /&gt;
Launching a light particle creates light when hitting a wall, for hitting a wall fragments the particle leaving part of the particle on the wall as a light source, which also reduces how many lumens the particle has.&lt;br /&gt;
&lt;br /&gt;
The statistics of the chamber are:&lt;br /&gt;
&lt;br /&gt;
*'''Bounceloss:''' How many lumens are lost from the particle when hitting a wall.&lt;br /&gt;
*'''Lifetime:''' Amount of time that the particle is active.&lt;br /&gt;
*'''Lumen:''' How bright the particle is.&lt;br /&gt;
*'''Fragmentpower:''' How bright the fragments are compared to the particle at the time of impact.&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;u&amp;gt;Upgrades&amp;lt;/u&amp;gt;====&lt;br /&gt;
Upgrades can help gather more light. The upgrades are:&lt;br /&gt;
&lt;br /&gt;
*'''Bounceloss:''' Reduces lumen loss on bounce.&lt;br /&gt;
*'''Lifetime:''' Longer particle lifetime.&lt;br /&gt;
*'''Lumen:'''  Increases brightness of the particle.&lt;br /&gt;
*'''Fragmentpower:''' Increases the percentage of fragment light compared to the particle (Eventually gets to the point that fragments give more light than the particle itself).&lt;br /&gt;
&lt;br /&gt;
==='''Universal'''===&lt;br /&gt;
[[File:UniversalExperiment.png|thumb|The Universal Experiment|alt=|none]]&lt;br /&gt;
The goal of the Universal Experiment is to increase the gravity of a ball.&lt;br /&gt;
&lt;br /&gt;
The gravity grid has many icons that interact with the ball, and is able to be altered, with increasing costs for each alteration. Recreating the board resets the alteration cost and creates a new gravity grid. Click the launch button at the bottom left spawns a ball at the bottom left corner of the gravity grid.&lt;br /&gt;
&lt;br /&gt;
'''Components:''' Icons that have different effects on the ball. Click one to activate, then clicking icons on the gravity board changes the icons to the currently selected component. Here are the components:&lt;br /&gt;
&lt;br /&gt;
*Normal: Sends the ball in the direction pointed. Disappears after one use.&lt;br /&gt;
*Gravup: Increases gravity of the ball.&lt;br /&gt;
*Gravdown: Decreases gravity of the ball.&lt;br /&gt;
*Infinite(#): Sends the ball in the direction pointed. Stays forever. # = Amount of times you can play this component on the gravity grid.&lt;br /&gt;
*3 times(#): Sends the ball in the direction pointed. Lasts for 3 uses. # = Amount of times you can play this component on the gravity grid.&lt;br /&gt;
&lt;br /&gt;
'''Actions:''' Ability to rotate icons on the gravity grid. Select one of the rotations, then click an icon to rotate the icon. Does not work on certain components, such as gravup. Works on these components:&lt;br /&gt;
&lt;br /&gt;
*Normal&lt;br /&gt;
*Infinite&lt;br /&gt;
*3 times&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;width:100%; overflow:auto;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;font-weight:bold;line-height:1.6;&amp;quot;&amp;gt;1.5 gravity solution&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Universal1-5strat.png|frameless]]&lt;br /&gt;
The optimal strategy to get 1.5 gravity is to place an infinity arrow facing right from the launch point.&lt;br /&gt;
Then you place three gravup pads right of that. Lastly right of the pads, put three 3-time arrows point left towards the pads.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
===Gem===&lt;br /&gt;
[[File:GemExperiment.png|thumb|The Gem Experiment|alt=|none]]&lt;br /&gt;
The goal of the Gem Experiment is to fill the board with normal gems, EXOTIC GEMS DO NOT COUNT.&lt;br /&gt;
&lt;br /&gt;
Clicking a tile rolls the tiles around the central tile in a + formation (Max is 5 tiles) into random icons. Roll time varies, from 1 second to 15 seconds.&lt;br /&gt;
&lt;br /&gt;
'''Upgrades:'''&lt;br /&gt;
&lt;br /&gt;
*Lock chance: Chance to not re-roll a tile if the icon is a gem. Does not work on the tile being clicked, as in clicking a gem tile always re-rolls the tile.&lt;br /&gt;
*Gem chance: Chance for a tile to end up being a gem.&lt;br /&gt;
&lt;br /&gt;
1 stack = 9 gem boards.&lt;br /&gt;
&lt;br /&gt;
===Exotic===&lt;br /&gt;
[[File:ExoticExperiment.png|thumb|The Exotic Experiment|alt=|none]]&lt;br /&gt;
The goal of the exotic experiment is to create fabrics of reality, which require ∞universes.&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;u&amp;gt;Stat Modifiers&amp;lt;/u&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
*'''Time factor:''' (Left) Reduces all modifier bar times by the time factor (Time / TimeFactor). Bar fills increases time factor by +0.01 (May increase more if the boost modifier has filled one or more bars).&lt;br /&gt;
*'''Production:''' (Right) Increases how many universes the universe modifier produces. Bar fills increase production.&lt;br /&gt;
*'''Universe:''' (Top middle) Bar fills create universes.&lt;br /&gt;
*'''Boost:''' (Bottom middle) Bar fills boost time factor bar fills additively by +0.001, and boosts production bar fills multiplicatively by *1.05&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;u&amp;gt;Upgrades&amp;lt;/u&amp;gt;====&lt;br /&gt;
Each modifier bar can be upgraded to reduce the base time for the bar to fill up. Each upgrade reduces base time by 20%, or rather multiplies the base time by 0.8. These are the stats for the modifier times:&lt;br /&gt;
&lt;br /&gt;
*'''Time factor:''' Base time [60 hours] Cost = (level * 3) + 1&lt;br /&gt;
*'''Production:''' Base time [25 hours] Cost = level&lt;br /&gt;
*'''Universe:''' Base time [100 hours] Cost = level + 1&lt;br /&gt;
*'''Boost:''' Base time [50 hours] Cost = (level * 5) + 1&lt;br /&gt;
&lt;br /&gt;
==Building tiers==&lt;br /&gt;
Each building tier constructed unlocks new experiments.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Laboratory&lt;br /&gt;
!Experiments&lt;br /&gt;
|-&lt;br /&gt;
|Tier 1&lt;br /&gt;
|Neutral, Fire&lt;br /&gt;
|-&lt;br /&gt;
|Tier 2&lt;br /&gt;
|Nature, Electricity&lt;br /&gt;
|-&lt;br /&gt;
|Tier 3&lt;br /&gt;
|Earth, Light&lt;br /&gt;
|-&lt;br /&gt;
|Tier 4&lt;br /&gt;
|Water, Air&lt;br /&gt;
|-&lt;br /&gt;
|Tier 5&lt;br /&gt;
|Darkness, Universal&lt;br /&gt;
|-&lt;br /&gt;
|Tier 6&lt;br /&gt;
|Gem, Exotic&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Skills==&lt;br /&gt;
None yet.&lt;br /&gt;
&lt;br /&gt;
==Exotic skills==&lt;br /&gt;
{{PerfectNavigation}}&lt;br /&gt;
[[Category:Buildings]]&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=529</id>
		<title>AI</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=529"/>
		<updated>2020-07-06T09:15:21Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: /* Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The AI is a very powerful tool that can be used to automate nearly anything. To use the AI you have to create AI-scripts in the headquarters.&lt;br /&gt;
&lt;br /&gt;
==AI-Scripts==&lt;br /&gt;
An AI script contains three sections that control its behaviour:&lt;br /&gt;
&lt;br /&gt;
*Impulses&lt;br /&gt;
*Conditions&lt;br /&gt;
*Actions&lt;br /&gt;
&lt;br /&gt;
===Impulse===&lt;br /&gt;
An impulse or trigger is a certain event that activates an AI script. A script can contain zero, one or more impulses and will react to all of them equally. It is possible that a script can trigger multiple times before it has finished execution. In this case multiple instances of this script can run in parallel.&lt;br /&gt;
&lt;br /&gt;
===Condition===&lt;br /&gt;
A condition is a requirement that has to be fulfilled in order for the script to start executing. If any of the specified conditions is not met then the whole script will not be executed once it is triggered by an impulse. During the execution the specified conditions have no effect.&lt;br /&gt;
&lt;br /&gt;
===Action===&lt;br /&gt;
An action is something that the AI does when the script becomes active. The order of all actions is important where the action at the top is executed first and then all following actions are simply executed one by one. There is no way to execute multiple actions at the same time inside a single active script.&lt;br /&gt;
[[File:AI-Script-Editor.png|alt=AI-Script-Editor (Ingame)|none|thumb|362x362px|AI-Script-Editor (Ingame)]]&lt;br /&gt;
&lt;br /&gt;
==Datatypes==&lt;br /&gt;
There are various types for data objects, placeholders or function arguments with each representing a different format of information.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Type&lt;br /&gt;
!Human readable description&lt;br /&gt;
!Example Values&lt;br /&gt;
!Default Value&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|double&lt;br /&gt;
|A number with decimal places. Can be positive or negative&lt;br /&gt;
|3.2, 0.29, -10.2, 7.9999993&lt;br /&gt;
|0.0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|A number without decimal places. Can be positive or negative.&lt;br /&gt;
|20, 69, 420, -1029, 0&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|string&lt;br /&gt;
|A chain of characters, basically any form of text.&lt;br /&gt;
|&amp;quot;meow&amp;quot;, &amp;quot;hello&amp;quot;, &amp;quot; &amp;quot;, &amp;quot;I am a text&amp;quot;&lt;br /&gt;
|&amp;quot;&amp;quot;&lt;br /&gt;
|The quotes in the examples are not included in the actual string value.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|A binary value that can either be true or false.&lt;br /&gt;
|true, false&lt;br /&gt;
|false&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Vector2&lt;br /&gt;
|A container type that contains two double values called x and y.&lt;br /&gt;
|(-30.0, 0.0), (28.38, 13)&lt;br /&gt;
|(0.0, 0.0)&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Some datetypes can be converted to others by using a function. Check the table below to see which datatypes are currently interchangeable.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Source / Target&lt;br /&gt;
!double&lt;br /&gt;
!int&lt;br /&gt;
!string&lt;br /&gt;
!bool&lt;br /&gt;
!Vector2&lt;br /&gt;
|-&lt;br /&gt;
!double&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|Yes&lt;br /&gt;
|Yes&lt;br /&gt;
|No&lt;br /&gt;
|Partially&lt;br /&gt;
|-&lt;br /&gt;
!int&lt;br /&gt;
|Yes&lt;br /&gt;
| -&lt;br /&gt;
|Yes&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
!string&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
| -&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
!bool&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
| -&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
!Vector2&lt;br /&gt;
|Partially&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
| -&lt;br /&gt;
|}&lt;br /&gt;
(The table will be updated as soon as more AI features are available.)&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
Basically any line in an AI script (apart from impulses) represents a function.&lt;br /&gt;
&lt;br /&gt;
There are two major types of functions:&lt;br /&gt;
&lt;br /&gt;
*Without a return value (= Actions)&lt;br /&gt;
*With a return value&lt;br /&gt;
&lt;br /&gt;
Functions without a return value appear as actions in the sidebar of the AI-script editor. In general these functions do something specific but require some sort of input. &lt;br /&gt;
&lt;br /&gt;
The various inputs to a function are called '''arguments'''. Each argument of a function has a specific datatype and accepts either a constant value or a function with a return value of the same type.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=509</id>
		<title>AI</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=509"/>
		<updated>2020-05-13T16:36:11Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: /* Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The AI is a very powerful tool that can be used to automate nearly anything. To use the AI you have to create AI-scripts in the headquarters.&lt;br /&gt;
&lt;br /&gt;
==AI-Scripts==&lt;br /&gt;
An AI script contains three sections that control its behaviour:&lt;br /&gt;
&lt;br /&gt;
*Impulses&lt;br /&gt;
*Conditions&lt;br /&gt;
*Actions&lt;br /&gt;
&lt;br /&gt;
===Impulse===&lt;br /&gt;
An impulse or trigger is a certain event that activates an AI script. A script can contain zero, one or more impulses and will react to all of them equally. It is possible that a script can trigger multiple times before it has finished execution. In this case multiple instances of this script can run in parallel.&lt;br /&gt;
&lt;br /&gt;
===Condition===&lt;br /&gt;
A condition is a requirement that has to be fulfilled in order for the script to start executing. If any of the specified conditions is not met then the whole script will not be executed once it is triggered by an impulse. During the execution the specified conditions have no effect.&lt;br /&gt;
&lt;br /&gt;
===Action===&lt;br /&gt;
An action is something that the AI does when the script becomes active. The order of all actions is important where the action at the top is executed first and then all following actions are simply executed one by one. There is no way to execute multiple actions at the same time inside a single active script.&lt;br /&gt;
[[File:AI-Script-Editor.png|alt=AI-Script-Editor (Ingame)|none|thumb|362x362px|AI-Script-Editor (Ingame)]]&lt;br /&gt;
&lt;br /&gt;
==Datatypes==&lt;br /&gt;
There are various types for data objects, placeholders or function arguments with each representing a different format of information.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Type&lt;br /&gt;
!Human readable description&lt;br /&gt;
!Example Values&lt;br /&gt;
!Default Value&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|double&lt;br /&gt;
|A number with decimal places. Can be positive or negative&lt;br /&gt;
|3.2, 0.29, -10.2, 7.9999993&lt;br /&gt;
|0.0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|A number without decimal places. Can be positive or negative.&lt;br /&gt;
|20, 69, 420, -1029, 0&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|string&lt;br /&gt;
|A chain of characters, basically any form of text.&lt;br /&gt;
|&amp;quot;meow&amp;quot;, &amp;quot;hello&amp;quot;, &amp;quot; &amp;quot;, &amp;quot;I am a text&amp;quot;&lt;br /&gt;
|&amp;quot;&amp;quot;&lt;br /&gt;
|The quotes in the examples are not included in the actual string value.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|A binary value that can either be true or false.&lt;br /&gt;
|true, false&lt;br /&gt;
|false&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Vector2&lt;br /&gt;
|A container type that contains two double values called x and y.&lt;br /&gt;
|(-30.0, 0.0), (28.38, 13)&lt;br /&gt;
|(0.0, 0.0)&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Some datetypes can be converted to others by using a function. Check the table below to see which datatypes are currently interchangeable.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Source / Target&lt;br /&gt;
!double&lt;br /&gt;
!int  &lt;br /&gt;
!string&lt;br /&gt;
!bool&lt;br /&gt;
!Vector2&lt;br /&gt;
|-&lt;br /&gt;
!double&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|Yes&lt;br /&gt;
|Yes&lt;br /&gt;
|No&lt;br /&gt;
|Partially&lt;br /&gt;
|-&lt;br /&gt;
!int&lt;br /&gt;
|Yes&lt;br /&gt;
| -&lt;br /&gt;
|Yes&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
!string&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
| -&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
!bool&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
| -&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
!Vector2&lt;br /&gt;
|Partially&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
|No&lt;br /&gt;
| -&lt;br /&gt;
|}&lt;br /&gt;
(The table will be updated as soon as more AI features are available.)&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
Basically any line in an AI script (apart from impulses) represents a function.&lt;br /&gt;
&lt;br /&gt;
There are two major types of functions:&lt;br /&gt;
&lt;br /&gt;
*Without a return value (= Actions)&lt;br /&gt;
*With a return value&lt;br /&gt;
&lt;br /&gt;
Functions without a return value appear as actions in the sidebar of the AI-script editor. In general these functions do something specific but require any. &lt;br /&gt;
&lt;br /&gt;
The various inputs to a function are called '''arguments'''. Each argument of a function has a specific datatype and accepts either a constant value or a function with a return value of the same type.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=File:AI-Script-Editor.png&amp;diff=508</id>
		<title>File:AI-Script-Editor.png</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=File:AI-Script-Editor.png&amp;diff=508"/>
		<updated>2020-05-13T16:18:21Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A screenshot of an empty script called &amp;quot;Wiki&amp;quot; in the AI-Script-Editor of The Perfect Tower 2.&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=507</id>
		<title>AI</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=507"/>
		<updated>2020-05-13T15:58:48Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: /* Datatypes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The AI is a very powerful tool that can be used to automate nearly anything. To use the AI you have to create AI-scripts in the headquarters.&lt;br /&gt;
&lt;br /&gt;
==AI-Scripts==&lt;br /&gt;
An AI script contains three sections that control its behaviour:&lt;br /&gt;
&lt;br /&gt;
*Impulses&lt;br /&gt;
*Conditions&lt;br /&gt;
*Actions&lt;br /&gt;
&lt;br /&gt;
===Impulse===&lt;br /&gt;
An impulse or trigger is a certain event that activates an AI script. A script can contain zero, one or more impulses and will react to all of them equally. It is possible that a script can trigger multiple times before it has finished execution. In this case multiple instances of this script can run in parallel.&lt;br /&gt;
&lt;br /&gt;
===Condition===&lt;br /&gt;
A condition is a requirement that has to be fulfilled in order for the script to start executing. If any of the specified conditions is not met then the whole script will not be executed once it is triggered by an impulse. During the execution the specified conditions have no effect.&lt;br /&gt;
&lt;br /&gt;
===Action===&lt;br /&gt;
An action is something that the AI does when the script becomes active. The order of all actions is important where the action at the top is executed first and then all following actions are simply executed one by one. There is no way to execute multiple actions at the same time inside a single active script.&lt;br /&gt;
&lt;br /&gt;
==Datatypes==&lt;br /&gt;
There are various types for data objects, placeholders or function arguments with each representing a different format of information.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Type&lt;br /&gt;
!Human readable description&lt;br /&gt;
!Example Values&lt;br /&gt;
!Default Value&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|double&lt;br /&gt;
|A number with decimal places. Can be positive or negative&lt;br /&gt;
|3.2, 0.29, -10.2, 7.9999993&lt;br /&gt;
|0.0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|A number without decimal places. Can be positive or negative.&lt;br /&gt;
|20, 69, 420, -1029, 0&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|string&lt;br /&gt;
|A chain of characters, basically any form of text.&lt;br /&gt;
|&amp;quot;meow&amp;quot;, &amp;quot;hello&amp;quot;, &amp;quot; &amp;quot;, &amp;quot;I am a text&amp;quot;&lt;br /&gt;
|&amp;quot;&amp;quot;&lt;br /&gt;
|The quotes in the examples are not included in the actual string value.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|A binary value that can either be true or false.&lt;br /&gt;
|true, false&lt;br /&gt;
|false&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Vector2&lt;br /&gt;
|A container type that contains two double values called x and y.&lt;br /&gt;
|(-30.0, 0.0), (28.38, 13)&lt;br /&gt;
|(0.0, 0.0)&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
Basically any line in an AI script (apart from impulses) represents a function.&lt;br /&gt;
&lt;br /&gt;
There are two major types of functions:&lt;br /&gt;
&lt;br /&gt;
* Without a return value (= Actions)&lt;br /&gt;
* With a return value&lt;br /&gt;
&lt;br /&gt;
Functions without a return value appear as actions in the sidebar of the AI-script editor. In general these functions do something specific but require any. &lt;br /&gt;
&lt;br /&gt;
The various inputs to a function are called '''arguments'''. Each argument of a function has a specific datatype and accepts either a constant value or a function with a return value of the same type.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=506</id>
		<title>AI</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=506"/>
		<updated>2020-05-13T15:48:23Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: /* Datatypes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The AI is a very powerful tool that can be used to automate nearly anything. To use the AI you have to create AI-scripts in the headquarters.&lt;br /&gt;
&lt;br /&gt;
==AI-Scripts==&lt;br /&gt;
An AI script contains three sections that control its behaviour:&lt;br /&gt;
&lt;br /&gt;
*Impulses&lt;br /&gt;
*Conditions&lt;br /&gt;
*Actions&lt;br /&gt;
&lt;br /&gt;
===Impulse===&lt;br /&gt;
An impulse or trigger is a certain event that activates an AI script. A script can contain zero, one or more impulses and will react to all of them equally. It is possible that a script can trigger multiple times before it has finished execution. In this case multiple instances of this script can run in parallel.&lt;br /&gt;
&lt;br /&gt;
===Condition===&lt;br /&gt;
A condition is a requirement that has to be fulfilled in order for the script to start executing. If any of the specified conditions is not met then the whole script will not be executed once it is triggered by an impulse. During the execution the specified conditions have no effect.&lt;br /&gt;
&lt;br /&gt;
===Action===&lt;br /&gt;
An action is something that the AI does when the script becomes active. The order of all actions is important where the action at the top is executed first and then all following actions are simply executed one by one. There is no way to execute multiple actions at the same time inside a single active script.&lt;br /&gt;
&lt;br /&gt;
==Datatypes==&lt;br /&gt;
There are various types for data objects, placeholders or function arguments with each representing a different format of information.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Type&lt;br /&gt;
!Human readable description&lt;br /&gt;
!Example Values&lt;br /&gt;
!Default Value&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|double&lt;br /&gt;
|A number with decimal places. Can be positive or negative&lt;br /&gt;
|3.2, 0.29, -10.2, 7.9999993&lt;br /&gt;
|0.0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|A number without decimal places. Can be positive or negative.&lt;br /&gt;
|20, 69, 420, -1029, 0&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|string&lt;br /&gt;
|A chain of characters, basically any form of text.&lt;br /&gt;
|&amp;quot;meow&amp;quot;, &amp;quot;hello&amp;quot;, &amp;quot; &amp;quot;, &amp;quot;I am a text&amp;quot;&lt;br /&gt;
|&amp;quot;&amp;quot;&lt;br /&gt;
|The quotes in the examples are not included in the actual string value.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|A binary value that can either be true or false.&lt;br /&gt;
|true, false&lt;br /&gt;
|false&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Vector2&lt;br /&gt;
|A container type that contains two double values called x and y.&lt;br /&gt;
|(-30.0, 0.0), (28.38, 13)&lt;br /&gt;
|(0.0, 0.0)&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=505</id>
		<title>AI</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=505"/>
		<updated>2020-05-12T18:06:37Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: /* Datatypes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The AI is a very powerful tool that can be used to automate nearly anything. To use the AI you have to create AI-scripts in the headquarters.&lt;br /&gt;
&lt;br /&gt;
==AI-Scripts==&lt;br /&gt;
An AI script contains three sections that control its behaviour:&lt;br /&gt;
&lt;br /&gt;
*Impulses&lt;br /&gt;
*Conditions&lt;br /&gt;
*Actions&lt;br /&gt;
&lt;br /&gt;
===Impulse===&lt;br /&gt;
An impulse or trigger is a certain event that activates an AI script. A script can contain zero, one or more impulses and will react to all of them equally. It is possible that a script can trigger multiple times before it has finished execution. In this case multiple instances of this script can run in parallel.&lt;br /&gt;
&lt;br /&gt;
===Condition===&lt;br /&gt;
A condition is a requirement that has to be fulfilled in order for the script to start executing. If any of the specified conditions is not met then the whole script will not be executed once it is triggered by an impulse. During the execution the specified conditions have no effect.&lt;br /&gt;
&lt;br /&gt;
===Action===&lt;br /&gt;
An action is something that the AI does when the script becomes active. The order of all actions is important where the action at the top is executed first and then all following actions are simply executed one by one. There is no way to execute multiple actions at the same time inside a single active script.&lt;br /&gt;
&lt;br /&gt;
==Datatypes==&lt;br /&gt;
There are various types for data objects, placeholders or function arguments with each representing a different format of information.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Type&lt;br /&gt;
!Human readable description&lt;br /&gt;
!Example Values&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|double&lt;br /&gt;
|A number with decimal places. Can be positive or negative&lt;br /&gt;
|3.2, 0.29, -10.2, 7.9999993&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|A number without decimal places. Can be positive or negative.&lt;br /&gt;
|20, 69, 420, -1029, 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|string&lt;br /&gt;
|A chain of characters, basically any form of text.&lt;br /&gt;
|&amp;quot;meow&amp;quot;, &amp;quot;hello&amp;quot;, &amp;quot; &amp;quot;, &amp;quot;I am a text&amp;quot;&lt;br /&gt;
|The quotes in the examples are not included in the actual string value.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|A binary value that can either be true or false.&lt;br /&gt;
|true, false&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Vector2&lt;br /&gt;
|A container type that contains two double values called x and y.&lt;br /&gt;
|(-30.0, 0.0), (28.38, 13)&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=504</id>
		<title>AI</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=504"/>
		<updated>2020-05-12T17:53:20Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The AI is a very powerful tool that can be used to automate nearly anything. To use the AI you have to create AI-scripts in the headquarters.&lt;br /&gt;
&lt;br /&gt;
==AI-Scripts==&lt;br /&gt;
An AI script contains three sections that control its behaviour:&lt;br /&gt;
&lt;br /&gt;
*Impulses&lt;br /&gt;
*Conditions&lt;br /&gt;
*Actions&lt;br /&gt;
&lt;br /&gt;
===Impulse===&lt;br /&gt;
An impulse or trigger is a certain event that activates an AI script. A script can contain zero, one or more impulses and will react to all of them equally. It is possible that a script can trigger multiple times before it has finished execution. In this case multiple instances of this script can run in parallel.&lt;br /&gt;
&lt;br /&gt;
===Condition===&lt;br /&gt;
A condition is a requirement that has to be fulfilled in order for the script to start executing. If any of the specified conditions is not met then the whole script will not be executed once it is triggered by an impulse. During the execution the specified conditions have no effect.&lt;br /&gt;
&lt;br /&gt;
===Action===&lt;br /&gt;
An action is something that the AI does when the script becomes active. The order of all actions is important where the action at the top is executed first and then all following actions are simply executed one by one. There is no way to execute multiple actions at the same time inside a single active script.&lt;br /&gt;
&lt;br /&gt;
== Datatypes ==&lt;br /&gt;
There are various types for data objects, placeholders or function arguments with each representing a different format of information.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Type&lt;br /&gt;
!Human readable description&lt;br /&gt;
!Example Values&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|double&lt;br /&gt;
|A number with decimal places. Can be positive or negative&lt;br /&gt;
|3.2, 0.29, -10.2, 7.9999993&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|A number without decimal places. Can be positive or negative.&lt;br /&gt;
|20, 69, 420, -1029, 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|string&lt;br /&gt;
|A chain of characters, basically any form of text.&lt;br /&gt;
|&amp;quot;meow&amp;quot;, &amp;quot;hello&amp;quot;, &amp;quot; &amp;quot;, &amp;quot;I am a text&amp;quot;&lt;br /&gt;
|The quotes in the examples are not included in the actual string value.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|A binary value that can either be true or false.&lt;br /&gt;
|true, false&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=503</id>
		<title>AI</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=503"/>
		<updated>2020-05-12T17:23:33Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The AI is a very powerful tool that can be used to automate nearly anything. To use the AI you have to create AI-scripts in the headquarters.&lt;br /&gt;
&lt;br /&gt;
== AI-Scripts ==&lt;br /&gt;
An AI script contains three sections that control its behaviour:&lt;br /&gt;
&lt;br /&gt;
* Impulses&lt;br /&gt;
* Conditions&lt;br /&gt;
* Actions&lt;br /&gt;
&lt;br /&gt;
=== Impulse ===&lt;br /&gt;
An impulse or trigger is a certain event that activates an AI script. A script can contain zero, one or more impulses and will react to all of them equally. It is possible that a script can trigger multiple times before it has finished execution. In this case multiple instances of this script can run in parallel.&lt;br /&gt;
&lt;br /&gt;
=== Condition ===&lt;br /&gt;
A condition is a requirement that has to be fulfilled in order for the script to start executing. If any of the specified conditions is not met then the whole script will not be executed once it is triggered by an impulse. During the execution the specified conditions have no effect.&lt;br /&gt;
&lt;br /&gt;
=== Action ===&lt;br /&gt;
An action is something that the AI does when the script becomes active. The order of all actions is important where the action at the top is executed first and then all following actions are simply executed one by one. There is no way to execute multiple actions at the same time inside a single active script.&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=502</id>
		<title>AI</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=AI&amp;diff=502"/>
		<updated>2020-05-12T17:06:19Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: Created page with &amp;quot;The AI is a very powerful tool that can be used to automate nearly anything.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The AI is a very powerful tool that can be used to automate nearly anything.&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.perfecttower2.com/wiki/index.php?title=Template:PerfectNavigation&amp;diff=501</id>
		<title>Template:PerfectNavigation</title>
		<link rel="alternate" type="text/html" href="https://www.perfecttower2.com/wiki/index.php?title=Template:PerfectNavigation&amp;diff=501"/>
		<updated>2020-05-12T17:05:22Z</updated>

		<summary type="html">&lt;p&gt;Xmmmx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Navbox&lt;br /&gt;
| name  = PerfectNavigation&lt;br /&gt;
| title = The Perfect Tower II&lt;br /&gt;
| listclass = hlist&lt;br /&gt;
&lt;br /&gt;
| group1 = Core Game&lt;br /&gt;
| list1 = {{Navbox|child&lt;br /&gt;
 | group1 = Mechanics&lt;br /&gt;
 | list1  =&lt;br /&gt;
* [[New Round]]&lt;br /&gt;
* [[Elements]]&lt;br /&gt;
* [[Modules]]&lt;br /&gt;
* [[Skills]]&lt;br /&gt;
* [[Tower Customization]]&lt;br /&gt;
* [[AI]]&lt;br /&gt;
&lt;br /&gt;
 | group2 = [[Regions]]&lt;br /&gt;
 | list2  =&lt;br /&gt;
* [[Forest]]&lt;br /&gt;
* [[Desert]]&lt;br /&gt;
* [[Winter]]&lt;br /&gt;
* [[Underground]]&lt;br /&gt;
* [[Volcano]]&lt;br /&gt;
* [[High Mountain]]&lt;br /&gt;
* [[Jungle]]&lt;br /&gt;
* [[Metallic Ruins]]&lt;br /&gt;
* [[Beach]]&lt;br /&gt;
* [[Ocean]]&lt;br /&gt;
* [[Neutral]]&lt;br /&gt;
* [[Dark Realm]]&lt;br /&gt;
* [[Heaven]]&lt;br /&gt;
* [[Universe]]&lt;br /&gt;
* [[Chaos]]&lt;br /&gt;
 }}&lt;br /&gt;
| group2 = [[Town]]&lt;br /&gt;
| list2 = {{Navbox|child&lt;br /&gt;
 | group1 = Buildings&lt;br /&gt;
 | list1  =&lt;br /&gt;
* [[Power Plant]]&lt;br /&gt;
* [[Mine]]&lt;br /&gt;
* [[Factory]]&lt;br /&gt;
* [[Headquaters]]&lt;br /&gt;
* [[Arcade]]&lt;br /&gt;
* [[Laboratory]]&lt;br /&gt;
* [[Shipyard]]&lt;br /&gt;
* [[Trading Post]]&lt;br /&gt;
* [[Workshop]]&lt;br /&gt;
* [[Museum]]&lt;br /&gt;
* [[Construction Firm]]&lt;br /&gt;
* [[Statue of Cubos]]&lt;br /&gt;
| group2 = Prestige&lt;br /&gt;
| list2 = [[Headquaters#Military|Military]] &lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Xmmmx</name></author>
		
	</entry>
</feed>