Skip to content

Commit

Permalink
crab trap recolor
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoSupremo committed Jun 20, 2019
1 parent a373292 commit 262263c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/crab_spawner/crab_spawner.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ end

function ArchipelagoCrabSpawner:post_activate()
self._entity:remove_component("stonehearth:renewable_resource_node")
local effect_list = self._entity:get_component("effect_list")
if effect_list then
effect_list:remove_effect(select(2, effect_list:first_effect()))
local task_tracker_component = self._entity:get_component('stonehearth:task_tracker')
if task_tracker_component then
task_tracker_component:cancel_current_task(true)
end
end

Expand Down
Binary file modified entities/gizmos/crab_trap/crab_trap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified entities/gizmos/crab_trap/crab_trap.qb
Binary file not shown.
Binary file modified entities/gizmos/crab_trap/crab_trap_iconic.qb
Binary file not shown.

0 comments on commit 262263c

Please sign in to comment.