Builder/Builder and Denizen: Difference between revisions

From Citizens Wiki
Line 18: Line 18:
==Janitor Jerry==
==Janitor Jerry==


Jerry fixes up a building once a day.
Jerry fixes up a building, replacing missing blocks or removing extra ones.


Coming soon!
This example uses the Activity engine to have a Denizen named Jerry try to rebuild a schematic every 5 minutes. For this to work the schematic should be saved from your world so the schematic origin is in the right place. You could also set Jerry's build origin where you want and remove the call to 'builder origin' in the script. Just be sure no one moves Jerry's origin.
 
When you start your server, Jerry won't do anything until noon rolls around, then he will attempt to rebuild the myBuilding schematic every 5 minutes. Change the delay as you see fit with the DELAY: command. Or use REPEATS:0 to have him only rebuild once at noon.


{| class="wikitable collapsible collapsed"  
{| class="wikitable collapsible collapsed"  

Revision as of 01:09, 12 October 2012

Harry's Home Constructions

Hire a Builder to build your house.

Coming soon!

Janitor Jerry

Jerry fixes up a building, replacing missing blocks or removing extra ones.

This example uses the Activity engine to have a Denizen named Jerry try to rebuild a schematic every 5 minutes. For this to work the schematic should be saved from your world so the schematic origin is in the right place. You could also set Jerry's build origin where you want and remove the call to 'builder origin' in the script. Just be sure no one moves Jerry's origin.

When you start your server, Jerry won't do anything until noon rolls around, then he will attempt to rebuild the myBuilding schematic every 5 minutes. Change the delay as you see fit with the DELAY: command. Or use REPEATS:0 to have him only rebuild once at noon.