mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Added Reson to cant open
This commit is contained in:
@@ -64,7 +64,10 @@ Gui.left.add{
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
can_open=function(player) return player.force.get_item_launched('satellite') > 0 end
|
can_open=function(player)
|
||||||
|
if player.force.get_item_launched('satellite') > 0 then return true
|
||||||
|
else return {'rockets.none'} end
|
||||||
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
Event.register(defines.events.on_rocket_launched,function(event) Gui.left.update('rockets') end)
|
Event.register(defines.events.on_rocket_launched,function(event) Gui.left.update('rockets') end)
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
[rockets]
|
[rockets]
|
||||||
name=Rocket Info
|
name=Rocket Info
|
||||||
tooltip=List of details about the rockets sent.
|
tooltip=List of details about the rockets sent.
|
||||||
|
none=No rockets have been sent yet.
|
||||||
nan=NaN
|
nan=NaN
|
||||||
sent=Rockets Sent: __1__
|
sent=Rockets Sent: __1__
|
||||||
first=First Lanuched At: __1__
|
first=First Lanuched At: __1__
|
||||||
|
|||||||
Reference in New Issue
Block a user