From NEAT Portal Wiki
Jump to: navigation, search
m (Protected "Building Scripts" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
Line 1: Line 1:
 
==Create==
 
==Create==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| create buildingtype
 
| create buildingtype
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
| create cottage<br>
+
|  
 +
create cottage<br>
 
create forge<br>
 
create forge<br>
 
create barrack
 
create barrack
Line 18: Line 19:
 
==Demo==
 
==Demo==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| demo buildingtype levelX
 
| demo buildingtype levelX
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
| demo cottage<br>
+
|  
 +
demo cottage<br>
 
demo forge level10<br>
 
demo forge level10<br>
 
demo saw highestlevel
 
demo saw highestlevel
Line 36: Line 38:
 
==Upgrade==
 
==Upgrade==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| upgrade buildingtype levelX
 
| upgrade buildingtype levelX
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
| upgrade cottage<br>
+
|  
 +
upgrade cottage<br>
 
upgrade barrack level8<br>
 
upgrade barrack level8<br>
 
upgrade farm lowestlevel
 
upgrade farm lowestlevel
Line 51: Line 54:
 
==Building Types==
 
==Building Types==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Buildings:
+
! style="text-align:left;" | Buildings:
| academy - a<br>
+
|  
 +
academy - a<br>
 
barrack      - b<br>
 
barrack      - b<br>
 
beacon tower - be<br>
 
beacon tower - be<br>

Revision as of 10:14, 1 June 2011

Create

Usage: create buildingtype
Example:

create cottage
create forge
create barrack

Create is used to build a building on an empty space, if there are no spaces to build, the create command will attempt to create a building until there is one and eventually time out. The Create command will automatically speed up the construction process for those buildings that are less than 5 minutes build time. In other words, for those buildings, like a cottage, that can be instantly built, Create will do this. The create command will perform several checks before it creates a building, it will first check to see if another construction is underway and automatically sleep until that construction is done, it also checks for resources, and if none are present, will sleep until they are.

Click here to see building types.

Demo

Usage: demo buildingtype levelX
Example:

demo cottage
demo forge level10
demo saw highestlevel

The demo command will demolish a building by one level at a time, you cannot use dynamite with this command. It is also important to note that you must specify the demolition of a level 10 building, either by using the level10 argument or highestlevel 10. As with the upgrade command, demo will not do anything to a level 10 building unless specifically told to do so. The above example will demo 5 cottages to level 9, the proceed by demo'ing these cottages to the ground. Another way of doing this is using the highest/lowestlevel building argument, and making sure that you repeat command only repeats enough times to accommodate 5 level 10 cottages.

Click here to see building types. Click here to see building policies.

Upgrade

Usage: upgrade buildingtype levelX
Example:

upgrade cottage
upgrade barrack level8
upgrade farm lowestlevel

Upgrades an existing building.


Building Types

Buildings:

academy - a
barrack - b
beacon tower - be
cottage - c
embassy - e
feasting hall - fh
forge - fo
farm - f
sawmill - s
quarry - q
iron mine - i
inn - inn
market - m
rally spot - r
relief station - rs
stable - st
town hall - t
wall - w
warehouse - wh
workshop - ws


Building Policies

Reference material for the Construction Commands

Building Policies are for defining arguments of level, in such, these are the building policies that can be used for the label levelX listed in the syntax usage of each construction command. (Currently, there are no options for the create command, it defaults to the first available “lot” to create a building): levelX whereas you input a desired level between 1 and 10 (IE level1; level5) with no space Used with upgrade command Used with demo command

lowestlevel whereas you input the desired “up to that” level in place of X (optional). This policy selects buildings that are the lowest levels to perform the argued command (IE upgrade cottage !lowestlevel) (must have space) Used with upgrade command Used with demo command

highestlevel whereas you input the desired “up to that” level in place of X (optional). This policy selects buildings that are the highest levels to perform the argued command (IE demo cottage !highestlevel) (must have space)

Used with upgrade command Used with demo command

X Optional augment for policy arguments, it allows to specify a level to be equal to or greater than/less than the desired level to be upgraded or demolished. level level10 will demo to level 9, it will upgrade to level 10 using a mich script

Level specification now has abbreviations, you can now use hi for highestlevel, lo for lowest level and le for level.

Using highestlevel or level10 arguments will utilize a mich script when used with the upgrade command. The only way to demolish a level 10 building is to use highestlevel or level10