The leader object

From Scenario League Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Back To TOTPP Functions


id (get)

leader.id -> integer

Returns the id of the leader.


name (get/set)

leader.name -> string

Returns the name of the leader.


female (get/set)

leader.female -> boolean

Returns whether or not the leader is female.


attack (get/set)

leader.attack -> integer

Returns the "attack" value of the leader's personality. Ephemeral.


expand (get/set)

leader.expand -> integer

Returns the "expand" value of the leader's personality. Ephemeral.


civilize (get/set)

leader.civilize -> integer

Returns the "civilize" value of the leader's personality. Ephemeral.


color (get/set)

leader.color -> integer

Returns the leader's color. Ephemeral.


cityStyle (get/set)

leader.cityStyle -> integer

Returns the leader's city style. Ephemeral.