mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-15 16:24:52 +09:00
Added output for /bonus
This commit is contained in:
1 parent
1c60afe456
commit
3eec6f1863
2 files changed
+6
No files matched your search
@@ -20,6 +20,8 @@ Commands.new_command('bonus','Changes the amount of bonus you receive')
|
||||
:register(function(player,amount)
|
||||
local percent = amount/100
|
||||
Store.set(bonus_store,player.name,percent)
|
||||
Commands.print{'expcom-bonus.set',amount}
|
||||
Commands.print({'expcom-bonus.wip'},'orange')
|
||||
end)
|
||||
|
||||
Event.add(defines.events.on_player_respawned,function(event)
|
||||
|
||||
Reference in new issue
Block a user