added changes from code submission branch and coin entity

This commit is contained in:
Chanumask
2024-09-06 11:01:42 +02:00
parent 33e40deecf
commit 5476f617c6
42 changed files with 1429 additions and 68 deletions

View File

@@ -40,10 +40,27 @@ Agents:
# - DropOffLocations
# - Maintainers
# Clones: 0
Target test agent:
# Target test agent:
# Actions:
# - Noop
# - Charge
# - DoorUse
# - Move8
# Observations:
# - Combined:
# - Other
# - Walls
# - GlobalPosition
# - Battery
# - Destinations
# - Doors
# - Maintainers
# Clones: 1
Coin test agent:
Actions:
- Noop
- Charge
- Collect
- DoorUse
- Move8
Observations:
@@ -52,6 +69,8 @@ Agents:
- Walls
- GlobalPosition
- Battery
- ChargePods
- CoinPiles
- Destinations
- Doors
- Maintainers
@@ -67,11 +86,18 @@ Entities:
Destinations:
coords_or_quantity: 1
spawn_mode: GROUPED
DirtPiles:
# DirtPiles:
# coords_or_quantity: 10
# initial_amount: 2
# clean_amount: 1
# dirt_spawn_r_var: 0.1
# max_global_amount: 20
# max_local_amount: 5
CoinPiles:
coords_or_quantity: 10
initial_amount: 2
clean_amount: 1
dirt_spawn_r_var: 0.1
collect_amount: 1
coin_spawn_r_var: 0.1
max_global_amount: 20
max_local_amount: 5
Doors:
@@ -90,24 +116,26 @@ Entities:
General:
env_seed: 69
individual_rewards: true
level_name: quadrant
level_name: two_rooms
pomdp_r: 3
verbose: false
tests: false
Rules:
# Environment Dynamics
EntitiesSmearDirtOnMove:
smear_ratio: 0.2
# EntitiesSmearDirtOnMove:
# smear_ratio: 0.2
DoorAutoClose:
close_frequency: 10
MoveMaintainers:
# Respawn Stuff
RespawnDirt:
respawn_freq: 15
# RespawnDirt:
# respawn_freq: 15
RespawnItems:
respawn_freq: 15
RespawnCoins:
respawn_freq: 15
# Utilities
WatchCollisions: