RAWIG
RAWIG copied to clipboard
RAWIG (Roguelike Architecture, Written In Go) is ready to modify and expand roguelike architecture.
Now, every time when player wants to remove something from any []*Object it has to be written ```go c.Inventory = append(c.Inventory, obj[i]) copy(obj[i:], obj[i+1:]) obj[len(obj)-1] = nil *o = obj[:len(obj)-1]...
For example, now it is: ```go case RangedDumbAI: if c.Equipment[SlotWeaponPrimary] != nil { // Use primary ranged weapon. if c.DistanceTo(cs[0].X, cs[0].Y) >= FOVLength-1 { // TODO: // For now, every...
Depends on #29
Introducing additional flag, like "usableWithoutEquipment" seems a bit off...
"Leftovers" of #70 To investigate further: ===== In MoveOrAttack in monsters.go is ```go if target != nil { c.AttackTarget(target) turnSpent = true ``` consider changing it to (need to change...
Maybe could I make dungeon features as tiles?