Skip to content
Vera Chellgren edited this page Sep 18, 2021 · 1 revision

SHIFT allows you to change the active gen item of any particular gen. For example, suppose you had a gen called city which had 3 cities in it. Only one of these is considered active at any time. Using the SHIFT command, you can change which one is active.

Syntax

SHIFT genname number-optional

where genname is the name of the gen as a whole, and the optional number parameter is how many places you want to shift. This must be a non-zero integer. Numbers do not overflow; they merely cycle around. Negative numbers refer to shifting backwards.

If no number is specified, the number defaults to 1, meaning shift 1 place forward.

Note: SHIFT does not change the order of the gen items. Repeatedly shifting by 1 will simply repeat the same sequence of active gen items. If you wish to change the order of the gen items, use SHUFFLE.

Some examples

SHIFT person -2
SHIFT city
SHIFT npc 5

Related commands

SHUFFLE, GEN, ASSIGNGEN

Clone this wiki locally