Corpses (#29)
* Update data.go Added corpses check * Update game_reader.go Added corpse finder function * Update monsters.go added corpse finder function
This commit is contained in:
@@ -49,6 +49,7 @@ func (gd *GameReader) GetData() data.Data {
|
||||
Position: corpseUnit.Position,
|
||||
},
|
||||
Monsters: gd.Monsters(pu.Position, hover),
|
||||
Corpses: gd.Corpses(pu.Position, hover),
|
||||
PlayerUnit: pu,
|
||||
Inventory: gd.Inventory(rawPlayerUnits, hover),
|
||||
Objects: gd.Objects(pu.Position, hover),
|
||||
|
||||
Reference in New Issue
Block a user