Dweller¶
文档版本:1.21.50.25
Allows a mob to join and migrate between villages and other dwellings.
架构¶
dweller:
{
string "dwelling_type" : opt
string "dweller_role" : opt
number "update_interval_base" : opt
number "update_interval_variant" : opt
boolean "can_find_poi" : opt
integer "first_founding_reward" : opt
boolean "can_migrate" : opt
number "dwelling_bounds_tolerance" : opt
string "preferred_profession" : opt
}
dwelling_type
:string- The type of dwelling the mob wishes to join. Current Types: village
dweller_role
:string- The role of which the mob plays in the dwelling. Current Roles: inhabitant, defender, hostile, passive.
update_interval_base
:number- How often the mob checks on their dwelling status in ticks. Positive values only.
update_interval_variant
:number- The variant value in ticks that will be added to the update_interval_base.
can_find_poi
:boolean- Whether or not the mob can find and add POI's to the dwelling.
first_founding_reward
:integer- How much reputation should the players be rewarded on first founding?.
can_migrate
:boolean- Can this mob migrate between dwellings? Or does it only have its initial dwelling?.
dwelling_bounds_tolerance
:number- A padding distance for checking if the mob is within the dwelling.
preferred_profession
:string- Allows the user to define a starting profession for this particular Dweller, instead of letting them choose organically. (They still need to gain experience from trading before this takes effect.)