Action

From Tygron Support wiki
Jump to navigation Jump to search

>>> see discussion

Template:Learned

Actions

An action is an activity a stakeholder can perform to achieve their objective. A typical example of an action would be a housing corporation constructing social housing, or a water board realizing open water.

How actions relate to the Tygron Engine

When a player plans an action it will influence the 3D World and have a certain effect on indicators. The effect of the planned action simulates the effect the action would have in the real world. When a player plants new trees, this action would have an effect on the indicator Quality of Life. Actions are tied to specific stakeholders, referring to the capability each stakeholder has to influence the 3D World. The waterboard has the capability to create water, but not social housing or roads. Since a player can have a lot of different actions available to reach their objective, actions are organized into menus.

Predefined Actions

A lot of predefined actions are available in Tygron Engine. Not all those actions have to be available to the players in all games. Since the game is about urban planning, most of the available actions have an available construction associated with its function.

For more information about all the actions available in the Tygron Engine, see the list of actions

Effects of Actions

Construction Actions

Most actions, when planned by the player, will place a construction in the 3D World and will have an effect on at least one or more indicators. Each action with a costcost will negatively affect the acting stakeholder's budget. Actions such as parks and green roofs will positively affect the green indicator. The effect on the indicator is determined by that element's function (type).

For changing the effects of the constructions on the indicators, see functions.

Special Actions

Examples of actions that do not place or remove an element in the 3D world, and thus do not have an associated construction action, include money transfer, buy and sell land, demolish, and the inbox. These actions are grouped together as Special actions.

Menus

For each stakeholder, their actions are organized into menus. Similar actions, such as creation of infrastructure (roads, traintracks, etc) or housing (villas, apartments, etc), can be grouped together into the same menu. By roughly matching the actions in a menu to the indicators relevant to the stakeholder, it is possible for players to weigh choices of actions against each other easily.

Action menus can also be shared between stakeholders. This means that two or more players can have access to the same menu, and to the same actions within that menu. An example of a menu that could be shared among stakeholders would be a menu with financial actions, such as the ability to transfer money. Having a menu shared with another stakeholder has no effect on the usability of a menu or the actions therein.

Changing actions and menus

In the editor, you can add, remove and reorganize actions and menus in the game as desired. The panel required to make changes to the actions and menus is the "Actions" panel from the "Stakeholder" menu in the editor.


File:Editor - categories.jpg
The action screen of the editor.

Adding and removing menus and actions

To add an action to a stakeholder, the stakeholder first needs to have at least one menu to place the action in. It is not possible to add an action to a stakeholder without organizing it into a menu. A menu without actions will appear to a player as empty, but does not directly serve any purpose.

It is also possible to share menus between multiple stakeholders. The menu must first be created for a single stakeholder, and can then be added to other stakeholders as well. Actions added to such a menu can be used by all stakeholders with that menu.

Adding a menu

To add a new menu to the current stakeholder, right-click in the middle pane, and select "Add new Menu".
To add an already existing menu to the stakeholder, right-click in the middle pane, and choose "Add existing Menu". Then pick a menu from the menus list.
How to add a menu:
  1. Select the stakeholder to which you wish to add the menu.
  2. Right-click in the middle pane.
  3. Choose "Add new Menu" or "Add Existing Menu".
  4. If you chose "Add Existing Menu", select a menu from the menus list.

Removing a menu

To remove a menu from the current stakeholder only, right-click on the menu you want to remove, and select "Remove from stakeholder".
To permanently delete a menu completely, right-click on the the menu you want to remove, and select "Delete Menu". This also removes it from other stakeholders.
How to remove a menu:
  1. Select the stakeholder from which you wish to remove a menu.
  2. Right-click on a menu in the middle pane.
  3. If you wish to keep the menu, but disconnect it from this menu, select "Remove from stakeholder".
  4. If you wish to completely delete the menu, select "Delete Menu".

Adding and removing actions

To add an action to a menu, drag an action from the left pane (for example, "Construction actions -> Agriculture -> Corn Fields") to an available menu. When no menu is available, you need to to add a menu first.
How to add an action:
  1. Select the stakeholder to which you wish to add the action.
  2. Make sure the stakeholder has at least one menu.
  3. Select an action from the pane on the left of the panel.
  4. Drag the action on to the menu in which you wish the action to be placed.
To remove an action from a menu, right-click the action you want to remove from the menu you want to remove, and select "Delete Action"
How to remove an action:
  1. Select the stakeholder from which you wish to remove an action.
  2. Open the menu containing the action.
  3. Right-click the action and select "Delete Action".

Changing menus

In the middle of the panel, you will see the existing menus. When you select a menu, the right of the panel will automatically be filled with the information pertaining to that menu. A number of properties pertaining to a menu can be edited.

How to change a menu:
  1. Select a menu in the middle pane.
  2. Change the name by changing the contents of the "Menu Name" field.
  3. Change the icon by clicking on the icon, and selecting a new one in the icon panel.
  4. Change the order by moving this menu up or down, by using the "Move Up" and "Move Down" buttons.

Menu Name

File:Categories overview - name.jpg
The field for the "name".
This Menu name field is the name of the menu. The menu name is displayed when a player hovers the mouse over a menu. You can change the name of the menu by editing the textfield.

Menu Icon

The Menu icon is a visual representation of a menu. The menu icon is used to group several actions into. You can change the icon by clicking the Menu icon and choosing an image from the list of images that appears.

Menu Order

File:Categories overview - sort index.jpg
The buttons with which to alter the "order" of the menus.
The menu order defines the order in which the menus are being presented to the user. You can change the order by selecting a menu and pressing "Move up" and "Move Down".