mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-16 16:12:35 +00:00
Added replaced sidebar label buttons with images, added 'radar' (currently static map image)
This commit is contained in:
@@ -6,11 +6,13 @@ tiles = [
|
||||
[false, :path, :path, :path, false],
|
||||
]
|
||||
|
||||
IMICRTS::Entity.define_entity(:barracks, :building, 400, 40, "Builds and soldiers", tiles) do |entity|
|
||||
entity.has(:building)
|
||||
entity.has(:waypoint)
|
||||
entity.has(:spawner)
|
||||
entity.has(:build_queue)
|
||||
IMICRTS::Entity.define_entity(:barracks, :building, 400, 40, "Builds and heals soldiers", tiles) do |entity|
|
||||
unless entity.proto_entity
|
||||
entity.has(:building)
|
||||
entity.has(:waypoint)
|
||||
entity.has(:spawner)
|
||||
entity.has(:build_queue)
|
||||
end
|
||||
|
||||
entity.radius = 44
|
||||
entity.max_health = 100.0
|
||||
|
||||
Reference in New Issue
Block a user