mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Added protype scripts for Alternate Tank and Power Plant, changed naming convention of assets to: package -> name instead of: package -> model
This commit is contained in:
8
assets/base/power_plant/scripts/power_plant.rb
Normal file
8
assets/base/power_plant/scripts/power_plant.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
context Building
|
||||
|
||||
on.create do |event|
|
||||
map.add_entity("base", "purchase_terminal", Vector.new(0, 1.5, 0), Vector.new(0, 90, 0), data: {team: event.entity.team})
|
||||
map.add_entity("base", "information_panel", Vector.new(2, 1.5, 0), Vector.new(0, 0, 0))
|
||||
map.add_entity("base", "door", Vector.new(2, 0, 6), Vector.new(0, 0, 0))
|
||||
map.add_entity("base", "door", Vector.new(2, 0, 6), Vector.new(0, 180, 0))
|
||||
end
|
||||
Reference in New Issue
Block a user