The leader object

From Scenario League Wiki
Jump to navigationJump to search

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.