base/fixtures/simple_world.yaml
- model: auth.User
pk: 1
fields:
username: alice
email: alice@localhost
# password is "test"
password: 'pbkdf2_sha256$10000$vkRy7QauoLLj$ry+3xm3YX+YrSXbri8s3EcXDIrx5ceM+xQjtpLdw2oE='
is_staff: true
is_superuser: true
- model: character.Character
pk: 1
fields:
name: King
world_id: 2
location_id: 1001
oath_sworn_to_id: 102
owner_user_id: 1
cash: 10000
profile: commander
- model: character.Character
pk: 2
fields:
name: Kingdom Member
world_id: 2
location_id: 1001
oath_sworn_to_id: 102
owner_user_id: 1
cash: 10000
profile: trader
- model: battle.Order
pk: 4
fields:
what: flee
- model: unit.WorldUnit
pk: 4
fields:
owner_character_id: 2
world: 2
location_id: 1001
name: Unit of Kingdom Member
recruitment_type: conscript
type: infantry
status: following
mobilization_status_since: 0
current_status_since: 0
generation_size: 100
default_battle_orders: 4
- model: character.Character
pk: 3
fields:
name: Stateless char
world_id: 2
location_id: 1008
owner_user_id: 1
cash: 10000
profile: commander
- model: character.Character
pk: 4
fields:
name: Democracy Leader
world_id: 2
location_id: 1005
owner_user_id: 1
cash: 10000
profile: commander
- model: character.Character
pk: 8
fields:
name: Democracy Member
world_id: 2
location_id: 1005
owner_user_id: 1
cash: 10000
profile: bureaucrat
- model: character.Character
pk: 5
fields:
name: Warrior
world_id: 2
location_id: 1007
owner_user_id: 1
cash: 10000
profile: commander
- model: battle.Order
pk: 1
fields:
what: formation
- model: unit.WorldUnit
pk: 1
fields:
owner_character_id: 5
world: 2
location_id: 1007
name: Unit of Warrior
recruitment_type: conscript
type: infantry
status: following
mobilization_status_since: 0
current_status_since: 0
generation_size: 30
default_battle_orders: 1
- model: battle.Order
pk: 3
fields:
what: formation
- model: unit.WorldUnit
pk: 3
fields:
owner_character_id: 5
world: 2
location_id: 1007
name: Second Unit of Warrior
recruitment_type: conscript
type: infantry
status: following
mobilization_status_since: 0
current_status_since: 0
generation_size: 60
default_battle_orders: 3
- model: character.Character
pk: 6
fields:
name: Commonwealth Warrior
world_id: 2
location_id: 1007
owner_user_id: 1
cash: 10000
profile: commander
- model: battle.Order
pk: 2
fields:
what: charge
- model: unit.WorldUnit
pk: 2
fields:
owner_character_id: 6
world: 2
location_id: 1007
name: Unit of Commonwealth Warrior
recruitment_type: conscript
type: infantry
status: following
mobilization_status_since: 0
current_status_since: 0
generation_size: 30
default_battle_orders: 2
- model: character.Character
pk: 7
fields:
name: Commonwealth Lord
world_id: 2
location_id: 1003
owner_user_id: 1
cash: 10000
profile: bureaucrat
- model: character.Character
pk: 9
fields:
name: Barbarian
world_id: 2
location_id: 1003
owner_user_id: 1
cash: 10000
profile: commander
- model: character.Character
pk: 10
fields:
name: Paused character
world_id: 2
paused: true
location_id: 1004
owner_user_id: 1
cash: 10000
profile: commander
- model: world.World
pk: 2
fields:
name: Parvus
description: A small test world
initialized: false
- model: organization.Organization
pk: 101
fields:
world_id: 2
name: "Small Kingdom"
color: "8F00CC"
description: "It's a small kingdom"
is_position: false
position_type: inherited
owner_id: null
leader_id: 102
owner_and_leader_locked: false
violence_monopoly: true
decision_taking: distributed
membership_type: character
election_period_months: 0
character_members:
- 1
- 2
- model: organization.Organization
pk: 102
fields:
world_id: 2
name: "Small King"
color: "B300FF"
description: "It's the King of a small kingdom"
is_position: true
owner_id: null
leader_id: null
owner_and_leader_locked: false
violence_monopoly: false
decision_taking: distributed
membership_type: character
election_period_months: 0
character_members:
- 1
- model: organization.Capability
fields:
organization_id: 102
type: 'ban'
applying_to: 101
- model: organization.Capability
fields:
organization_id: 102
type: 'arrest warrant'
applying_to: 101
- model: organization.Capability
fields:
organization_id: 102
type: 'policy'
applying_to: 101
- model: organization.Capability
pk: 101
fields:
organization_id: 102
type: 'conscript'
applying_to: 101
- model: organization.Capability
pk: 102
fields:
organization_id: 102
type: 'take grain'
applying_to: 101
- model: organization.Capability
fields:
organization_id: 101
stemming_from: 102
type: 'take grain'
applying_to: 101
- model: organization.Capability
fields:
organization_id: 109
stemming_from: 102
type: 'take grain'
applying_to: 109
- model: organization.Capability
fields:
organization_id: 110
stemming_from: 102
type: 'take grain'
applying_to: 110
- model: organization.Capability
fields:
organization_id: 101
stemming_from: 101
type: 'conscript'
applying_to: 101
- model: organization.Capability
fields:
organization_id: 102
type: 'diplomacy'
applying_to: 101
- model: organization.Capability
fields:
organization_id: 102
type: 'heir'
applying_to: 102
- model: organization.Capability
fields:
organization_id: 102
type: 'military stance'
applying_to: 101
- model: organization.Capability
fields:
organization_id: 102
type: 'battle formation'
applying_to: 101
- model: organization.Capability
fields:
organization_id: 102
type: 'occupy region'
applying_to: 101
- model: organization.Capability
fields:
organization_id: 102
type: 'manage guilds'
applying_to: 101
- model: organization.Capability
fields:
organization_id: 102
type: 'manage taxation'
applying_to: 101
- model: organization.Organization
pk: 109
fields:
world_id: 2
name: "Governor of some forest"
color: "B300FF"
description: "Governs some forest"
is_position: true
owner_id: 101
leader_id: null
owner_and_leader_locked: false
violence_monopoly: false
decision_taking: distributed
membership_type: character
election_period_months: 0
character_members:
- 1
- model: organization.Organization
pk: 110
fields:
world_id: 2
name: "Governor of some plains"
color: "B300FF"
description: "Governs some plains"
is_position: true
owner_id: 101
leader_id: null
owner_and_leader_locked: false
violence_monopoly: false
decision_taking: distributed
membership_type: character
election_period_months: 0
character_members:
- 2
- model: organization.Organization
pk: 111
fields:
world_id: 2
name: "Helper of the governor of some plains"
color: "B300FF"
description: "Helps the governor of some plains"
is_position: true
owner_id: 110
leader_id: null
owner_and_leader_locked: false
violence_monopoly: false
decision_taking: distributed
membership_type: character
election_period_months: 0
- model: organization.Organization
pk: 103
fields:
world_id: 2
name: "Small Federation"
color: "008691"
description: "It's a small federation"
is_position: false
owner_id: null
leader_id: 104
owner_and_leader_locked: false
violence_monopoly: false
decision_taking: democratic
membership_type: organization
election_period_months: 0
organization_members:
- 105
- 107
- model: organization.Organization
pk: 104
fields:
world_id: 2
name: "President of the Small Federation"
color: "008691"
description: "It's the president of the small federation"
is_position: true
position_type: elected
owner_id: null
leader_id: null
owner_and_leader_locked: false
violence_monopoly: false
decision_taking: distributed
membership_type: character
election_period_months: 0
- model: organization.Organization
pk: 105
fields:
world_id: 2
name: "Small Commonwealth"
color: "CE0004"
description: "A small federated Realm"
is_position: false
owner_id: null
leader_id: 106
owner_and_leader_locked: false
violence_monopoly: true
decision_taking: democratic
membership_type: character
election_period_months: 0
character_members:
- 6
- 7
- model: organization.Capability
fields:
organization_id: 105
type: 'conscript'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 105
type: 'ban'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 105
type: 'policy'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 105
type: 'heir'
applying_to: 106
- model: organization.Organization
pk: 106
fields:
world_id: 2
name: "Commonwealth Lord"
color: "A70004"
description: "Leader of the Small Commonwealth"
is_position: true
position_type: inherited
owner_id: null
leader_id: null
owner_and_leader_locked: false
violence_monopoly: false
decision_taking: distributed
membership_type: character
election_period_months: 0
character_members:
- 7
- model: organization.Capability
fields:
organization_id: 106
type: 'ban'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 106
type: 'arrest warrant'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 106
type: 'policy'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 106
type: 'diplomacy'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 106
type: 'military stance'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 106
type: 'battle formation'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 106
type: 'occupy region'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 106
type: 'take grain'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 106
type: 'manage guilds'
applying_to: 105
- model: organization.Capability
fields:
organization_id: 106
type: 'manage taxation'
applying_to: 105
- model: organization.Organization
pk: 107
fields:
world_id: 2
name: "Small Democracy"
color: "928439"
description: "Small federated democracy"
is_position: false
owner_id: null
leader_id: 108
owner_and_leader_locked: false
violence_monopoly: true
decision_taking: democratic
membership_type: character
election_period_months: 0
character_members:
- 4
- 8
- model: organization.Capability
fields:
organization_id: 107
type: 'ban'
applying_to: 107
- model: organization.Capability
fields:
organization_id: 107
type: 'arrest warrant'
applying_to: 107
- model: organization.Capability
fields:
organization_id: 107
type: 'policy'
applying_to: 107
- model: organization.Capability
fields:
organization_id: 107
type: 'conscript'
applying_to: 107
- model: organization.Capability
fields:
organization_id: 107
type: 'diplomacy'
applying_to: 107
- model: organization.Capability
fields:
organization_id: 107
type: 'elect'
applying_to: 108
- model: organization.Capability
fields:
organization_id: 107
type: 'candidacy'
applying_to: 108
- model: organization.Capability
fields:
organization_id: 107
type: 'convoke elections'
applying_to: 108
- model: organization.Capability
fields:
organization_id: 107
type: 'military stance'
applying_to: 107
- model: organization.Capability
fields:
organization_id: 107
type: 'battle formation'
applying_to: 107
- model: organization.Capability
fields:
organization_id: 107
type: 'occupy region'
applying_to: 107
- model: organization.Capability
fields:
organization_id: 107
type: 'take grain'
applying_to: 107
- model: organization.Capability
fields:
organization_id: 107
type: 'manage guilds'
applying_to: 107
- model: organization.Capability
fields:
organization_id: 107
type: 'manage taxation'
applying_to: 107
- model: organization.Organization
pk: 108
fields:
world_id: 2
name: "Democracy leader"
color: "928439"
description: "Leader of the small democracy"
is_position: true
position_type: elected
owner_id: null
leader_id: null
owner_and_leader_locked: false
violence_monopoly: false
decision_taking: distributed
membership_type: character
election_period_months: 25
character_members:
- 4
- model: organization.Organization
pk: 112
fields:
world_id: 2
name: "Horde"
color: "928439"
description: "Warriors!"
is_position: false
owner_id: null
leader_id: 113
owner_and_leader_locked: false
violence_monopoly: true
decision_taking: distributed
membership_type: character
election_period_months: 0
character_members:
- 5
- model: organization.Capability
fields:
organization_id: 112
type: 'conscript'
applying_to: 112
- model: organization.Capability
fields:
organization_id: 112
type: 'candidacy'
applying_to: 113
- model: organization.Capability
fields:
organization_id: 112
type: 'elect'
applying_to: 113
- model: organization.Capability
fields:
organization_id: 112
type: 'military stance'
applying_to: 112
- model: organization.Capability
fields:
organization_id: 112
type: 'occupy region'
applying_to: 112
- model: organization.Capability
fields:
organization_id: 112
type: 'battle formation'
applying_to: 112
- model: organization.Capability
fields:
organization_id: 112
type: 'take grain'
applying_to: 112
- model: organization.Capability
fields:
organization_id: 113
type: 'manage guilds'
applying_to: 112
- model: organization.Capability
fields:
organization_id: 113
type: 'manage taxation'
applying_to: 112
- model: organization.Organization
pk: 113
fields:
world_id: 2
name: "Horde leader"
color: "928439"
description: "Leader of horde"
is_position: true
position_type: inherited
owner_id: null
leader_id: null
owner_and_leader_locked: false
violence_monopoly: false
decision_taking: distributed
membership_type: character
election_period_months: 25
character_members:
- 5
- model: organization.OrganizationRelationship
fields:
from_organization: 112
to_organization: 105
relationship: war
- model: organization.OrganizationRelationship
fields:
from_organization: 105
to_organization: 112
relationship: war
- model: organization.Organization
pk: 114
fields:
world_id: 2
name: "Barbarians of Parvus"
barbaric: true
color: "111111"
description: "Barbarians of Parvus"
is_position: false
owner_and_leader_locked: false
violence_monopoly: true
decision_taking: distributed
membership_type: character
character_members:
- 9
- model: organization.Capability
fields:
organization_id: 114
type: 'conscript'
applying_to: 114
- model: organization.Capability
fields:
organization_id: 114
type: 'military stance'
applying_to: 114
- model: organization.Capability
fields:
organization_id: 114
type: 'battle formation'
applying_to: 114
- model: organization.Capability
fields:
organization_id: 114
type: 'occupy region'
applying_to: 114
- model: world.Region
pk: 101
fields:
world_id: 2
name: Region One
- model: world.Region
pk: 102
fields:
world_id: 2
name: Region Two
- model: world.Tile
pk: 101
fields:
name: Some ocean
world_id: 2
region_id: 101
x_pos: -1
z_pos: -1
y_pos: 0
type: deepsea
controlled_by: 114
- model: world.Tile
pk: 102
fields:
name: Some plains
world_id: 2
region_id: 101
x_pos: 0
z_pos: -1
y_pos: 0.05
type: plains
controlled_by: 110
- model: world.Tile
pk: 103
fields:
name: Some forest
world_id: 2
region_id: 101
x_pos: 1
z_pos: -1
y_pos: 0.1
type: forest
controlled_by: 109
- model: world.Tile
pk: 104
fields:
name: Some shore
world_id: 2
region_id: 101
x_pos: -1
z_pos: 0
y_pos: 0.1
type: shore
controlled_by: 114
- model: world.Tile
pk: 105
fields:
name: Some mountains
world_id: 2
region_id: 101
x_pos: 0
z_pos: 0
y_pos: 0.25
type: mountain
controlled_by: 105
- model: world.Tile
pk: 106
fields:
name: More plains
world_id: 2
region_id: 102
x_pos: 1
z_pos: 0
y_pos: 0.1
type: plains
controlled_by: 107
- model: world.Tile
pk: 107
fields:
name: More forest
world_id: 2
region_id: 102
x_pos: -1
z_pos: 1
y_pos: 0.15
type: forest
controlled_by: 114
- model: world.Tile
pk: 108
fields:
name: More mountains
world_id: 2
region_id: 102
x_pos: 0
z_pos: 1
y_pos: 0.2
type: mountain
controlled_by: 112
- model: world.Tile
pk: 109
fields:
name: More sea
world_id: 2
region_id: 102
x_pos: 1
z_pos: 1
y_pos: 0
type: deepsea
controlled_by: 114
- model: world.Settlement
pk: 1001
fields:
name: Small Iadar
tile_id: 102
population_default: 355
x_pos: 14
z_pos: 5
- model: world.Building
fields:
type: residence
level: 2
quantity: 50
settlement_id: 1001
- model: world.Building
fields:
type: grain field
level: 2
quantity: 2378
settlement_id: 1001
- model: world.Building
fields:
type: granary
level: 2
quantity: 1
settlement_id: 1001
- model: world.Building
fields:
type: guild
level: 1
quantity: 1
settlement_id: 1001
- model: world.Settlement
pk: 1002
fields:
name: Small Diorynnhavn
tile_id: 103
population_default: 4010
x_pos: 5
z_pos: 60
- model: world.Building
fields:
type: residence
level: 2
quantity: 300
settlement_id: 1002
- model: world.Building
fields:
type: residence
level: 1
quantity: 270
settlement_id: 1002
- model: world.Building
fields:
type: grain field
level: 2
quantity: 2819
settlement_id: 1002
- model: world.Building
fields:
type: granary
level: 2
quantity: 1
settlement_id: 1002
- model: world.Building
fields:
type: guild
level: 1
quantity: 1
settlement_id: 1002
- model: world.Settlement
pk: 1003
fields:
name: Small Diorynn
tile_id: 105
population_default: 1300
x_pos: 43
z_pos: 73
- model: world.Building
fields:
type: residence
level: 2
quantity: 200
settlement_id: 1003
- model: world.Building
fields:
type: prison
level: 1
settlement_id: 1003
- model: world.Building
fields:
type: grain field
level: 2
quantity: 17310
settlement_id: 1003
- model: world.Building
fields:
type: granary
level: 2
quantity: 1
settlement_id: 1003
- model: world.Building
fields:
type: guild
level: 2
quantity: 1
settlement_id: 1003
- model: world.Settlement
pk: 1004
fields:
name: Small Upcreek
tile_id: 105
population_default: 1600
x_pos: 43
z_pos: 40
- model: world.Building
fields:
type: residence
level: 2
quantity: 200
settlement_id: 1004
- model: world.Building
fields:
type: prison
level: 2
settlement_id: 1004
- model: world.Building
fields:
type: grain field
level: 2
quantity: 21737
settlement_id: 1004
- model: world.Building
fields:
type: granary
level: 2
quantity: 1
settlement_id: 1004
- model: world.Building
fields:
type: guild
level: 0
quantity: 1
settlement_id: 1004
- model: world.Settlement
pk: 1005
fields:
name: Small Valley
tile_id: 106
population_default: 900
x_pos: 15
z_pos: 73
- model: world.Building
fields:
type: residence
level: 2
quantity: 80
settlement_id: 1005
- model: world.Building
fields:
type: grain field
level: 2
quantity: 3110
settlement_id: 1005
- model: world.Building
fields:
type: granary
level: 2
quantity: 1
settlement_id: 1005
- model: world.Building
fields:
type: guild
level: 2
quantity: 1
settlement_id: 1005
- model: world.Settlement
pk: 1006
fields:
name: Small Shaax
tile_id: 107
population_default: 2666
x_pos: 29
z_pos: 31
- model: world.Building
fields:
type: residence
level: 1
quantity: 250
settlement_id: 1006
- model: world.Building
fields:
type: prison
level: 1
settlement_id: 1006
- model: world.Building
fields:
type: grain field
level: 1
quantity: 13330
settlement_id: 1006
- model: world.Building
fields:
type: granary
level: 2
quantity: 1
settlement_id: 1006
- model: world.Building
fields:
type: guild
level: 1
quantity: 1
settlement_id: 1006
- model: world.Settlement
pk: 1007
fields:
name: Small Fynkah
tile_id: 108
population_default: 812
x_pos: 61
z_pos: 50
- model: world.Building
fields:
type: residence
level: 1
quantity: 90
settlement_id: 1007
- model: world.Building
fields:
type: grain field
level: 1
quantity: 3248
settlement_id: 1007
- model: world.Building
fields:
type: granary
level: 2
quantity: 1
settlement_id: 1007
- model: world.Building
fields:
type: guild
level: 1
quantity: 1
settlement_id: 1007
- model: world.Settlement
pk: 1008
fields:
name: Small Dipak
tile_id: 102
population_default: 5300
x_pos: 33
z_pos: 8
- model: world.Building
fields:
type: residence
level: 1
quantity: 444
settlement_id: 1008
- model: world.Building
fields:
type: prison
level: 2
settlement_id: 1008
- model: world.Building
fields:
type: grain field
level: 1
quantity: 42400
settlement_id: 1008
- model: world.Building
fields:
type: granary
level: 2
quantity: 1
settlement_id: 1008
- model: world.Building
fields:
type: guild
level: 2
quantity: 1
settlement_id: 1008
- model: world.Settlement
pk: 1009
fields:
name: Small Kalyana
tile_id: 103
population_default: 2100
x_pos: 40
z_pos: 53
- model: world.Building
fields:
type: residence
level: 1
quantity: 175
settlement_id: 1009
- model: world.Building
fields:
type: grain field
level: 1
quantity: 31500
settlement_id: 1009
- model: world.Building
fields:
type: granary
level: 1
quantity: 1
settlement_id: 1009
- model: world.Building
fields:
type: guild
level: 1
quantity: 1
settlement_id: 1009