mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-23 13:17:03 +01:00
Added grafadreka.
More work on drakes. Added grafadreka den site. Working on refining drake AI. Fixing drake languages.
This commit is contained in:
@@ -97,9 +97,13 @@
|
||||
if(!can_forage(critter))
|
||||
to_chat(critter, SPAN_WARNING("You cannot see any edible fruit on \the [src]."))
|
||||
return TRUE
|
||||
critter.set_AI_busy(TRUE)
|
||||
show_animal_foraging_message(critter)
|
||||
if(!do_after(critter, 2 SECONDS, src) || QDELETED(src) || !can_forage(user))
|
||||
critter.setClickCooldown(5 SECONDS)
|
||||
if(!do_after(critter, 5 SECONDS, src) || QDELETED(src) || !can_forage(user))
|
||||
critter.set_AI_busy(FALSE)
|
||||
return TRUE
|
||||
critter.set_AI_busy(FALSE)
|
||||
show_animal_eating_message(critter)
|
||||
playsound(critter, 'sound/items/eatfood.ogg', rand(10,50), 1)
|
||||
harvest_count++
|
||||
|
||||
Reference in New Issue
Block a user