leaderObject 🔗

A leader object is a data type provided by the Test of Time Patch Project Lua Interpreter. It represents the leader of a tribe, which is to say some characteristics of the tribe specific to the “leader”, and provides a means of interacting with it. Lua Function Reference

attack 🔗

leaderObject.attack --> integer

(get/set - ephemeral) Returns the “attack” value of the leader’s personality.

cityStyle 🔗

leaderObject.cityStyle --> integer

(get/set - ephemeral) Returns the leader’s city style.

civilize 🔗

leaderObject.civilize --> integer

(get/set - ephemeral) Returns the “civilize” value of the leader’s personality.

color 🔗

leaderObject.color --> integer

(get/set - ephemeral) Returns the leader’s color.

expand 🔗

leaderObject.expand --> integer

(get/set - ephemeral) Returns the “expand” value of the leader’s personality.

female 🔗

leaderObject.female --> boolean

(get/set) Returns whether or not the leader is female.

id 🔗

leaderObject.id --> integer

(get) Returns the id of the leader.

name 🔗

leaderObject.name --> string

(get/set) Returns the name of the leader.