Size: 3678
Comment:
|
Size: 3681
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
||<tablestyle="margin: 1em 1em 1em 0px; background-color: rgb(249, 249, 249); border-style: solid; border-color: rgb(170, 170, 170); color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; line-height: 19.5px; text-align: start; " tableclass="wikitable"style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Usage:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">demo buildingtype levelX|| ||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Example:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">demo cottage<<BR>>demo forge level10<<BR>>demo saw highestlevel || ||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Building Types:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">academy - a<<BR>>barrack - b<<BR>>beacon tower - be<<BR>>cottage - c<<BR>>embassy - e<<BR>>feasting hall - fh<<BR>>forge - fo<<BR>>farm - f<<BR>>sawmill - s<<BR>>quarry - q<<BR>>iron mine - i<<BR>>inn - inn<<BR>>market - m<<BR>>rally spot - r<<BR>>relief station - rs<<BR>>stable - st<<BR>>town hall - t<<BR>>wall - w<<BR>>warehouse - wh<<BR>>workshop - ws || |
||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">demo buildingtype levelX || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">demo cottage<<BR>>demo forge level10<<BR>>demo saw highestlevel<<BR>>demo /dynamite ws || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Building Types: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">academy - a<<BR>>barrack - b<<BR>>beacon tower - be<<BR>>cottage - c<<BR>>embassy - e<<BR>>feasting hall - fh<<BR>>forge - fo<<BR>>farm - f<<BR>>sawmill - s<<BR>>quarry - q<<BR>>iron mine - i<<BR>>inn - inn<<BR>>market - m<<BR>>rally spot - r<<BR>>relief station - rs<<BR>>stable - st<<BR>>town hall - t<<BR>>wall - w<<BR>>warehouse - wh<<BR>>workshop - ws || |
Line 5: | Line 5: |
The demo command will demolish a building by one level at a time. You cannot use dynamite with this command. It is 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. | |
Line 7: | Line 6: |
The above example will demo 5 cottages to level 9, then proceed by demo'ing these cottages to the ground. Another way of doing this is using the highest/lowestlevel building arguments, and making sure that your repeat command only repeats enough times to accommodate 5 level 10 cottages. | The demo command will demolish a building by one level at a time. It is important to note that you must specifically order 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 otherwise. You may use dynamite starting in build 3161T with the Demo command. Just add the /dynamite flag to your Demo command as shown in the examples above. . {{{ demo c level10 repeat 5 demo c repeat 45 }}} The above example will demo 5 cottages to level 9, then proceed by demo'ing these cottages completely to 0. Another way of doing this is using the highest/lowestlevel building arguments, and making sure that your repeat command only repeats enough times to accommodate 5 level 10 cottages. |
Line 10: | Line 18: |
Line 24: | Line 31: |
Line 25: | Line 33: |
CategoryAllScripts CategoryCityScripts | ScriptCity |
Usage: |
demo buildingtype levelX |
Example: |
demo cottage |
Building Types: |
academy - a |
The demo command will demolish a building by one level at a time. It is important to note that you must specifically order 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 otherwise. You may use dynamite starting in build 3161T with the Demo command. Just add the /dynamite flag to your Demo command as shown in the examples above.
demo c level10 repeat 5 demo c repeat 45
The above example will demo 5 cottages to level 9, then proceed by demo'ing these cottages completely to 0. Another way of doing this is using the highest/lowestlevel building arguments, and making sure that your repeat command only repeats enough times to accommodate 5 level 10 cottages.
Building Policies
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