starting pass for unit tweaks, changing unit tiers to weight class, added custom weapons for bt lasers, notebook incompatible blueprints
This commit is contained in:
1 parent
70f34f8f40
commit
3bb2a6dfe0
301 files changed
+6030
-5806
No files matched your search
@@ -11,19 +11,19 @@
|
||||
local TStructureUnit = import('/lua/terranunits.lua').TStructureUnit
|
||||
local TIFArtilleryWeapon = import('/lua/terranweapons.lua').TIFArtilleryWeapon
|
||||
|
||||
---@class FSLONGTOMCANNON : TStructureUnit
|
||||
FSLONGTOMCANNON = Class(TStructureUnit) {
|
||||
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TStructureUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
local bp = self:GetBlueprint()
|
||||
if bp.Audio.Activate then
|
||||
self:PlaySound(bp.Audio.Activate)
|
||||
end
|
||||
end,
|
||||
-- OnStopBeingBuilt = function(self, builder, layer)
|
||||
-- TStructureUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
-- local bp = self:GetBlueprint()
|
||||
-- if bp.Audio.Activate then
|
||||
-- self:PlaySound(bp.Audio.Activate)
|
||||
-- end
|
||||
-- end,
|
||||
|
||||
Weapons = {
|
||||
MainGun = Class(TIFArtilleryWeapon) {
|
||||
},
|
||||
MainGun = Class(TIFArtilleryWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user