You've already forked ComfyFactorio
mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-11-27 22:38:18 +02:00
RPG
Added dupe counter to dex label
This commit is contained in:
@@ -599,6 +599,7 @@ local function on_player_rotated_entity(event)
|
||||
if rpg_t.rotated_entity_delay > game.tick then
|
||||
return
|
||||
end
|
||||
|
||||
rpg_t.rotated_entity_delay = game.tick + 20
|
||||
Public.gain_xp(player, 0.20)
|
||||
end
|
||||
@@ -749,6 +750,7 @@ local function on_player_crafted_item(event)
|
||||
name = item.name,
|
||||
count = 1
|
||||
}
|
||||
Public.increment_duped_crafted_items(player)
|
||||
if player.can_insert(reward) then
|
||||
player.insert(reward)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user