Szablon miasta
raw_resource_seeded
Brak powiązań z innymi pojęciami.
default_variables = {
contributor = raw_resources:wheat
required_contributor = always_one
scale = 9
mesh_list = raw_wheat_mesh_list
size = small
can_build_over = yes
}
code
"raw_resource = {
order = 20
size = @size
contributors = { @@contributor = @scale }
required_contributors = { @@required_contributor = 1}
mesh_list = @mesh_list
filter_func = any_free_socket_filter
weight_func = next_to_same_mesh_list_weights_priorize_loneliness
allow_demote = yes # Other buildings can be placed on raw resources
allow_promote = no
allow_first_pass_replacement = @can_build_over # usually we only demote/promote if there's no good spot to put the new mesh. This enables promotion/demotion always
can_grow_neighborhood = no #prevents buildings from counting this as a good "neighbor"
permanent_replacement = yes #prevents this module from re-spawning a mesh after it has been demoted/promoted. E.g if we first spawn 10 "iron deposit" meshes, the rgo-module replaces 2 of them, it will still count as if 10 iron deposits exist
}"