Hi,
currently, I am trying to listen to other events. For example'stonehearth:blueprint_added'
but it doesn’t work. The only event I can listen to is 'radiant:init'
like so:
analyzer = {}
radiant.events.listen(analyzer, 'radiant:init', function(e)
radiant.log.write('analyzer', 0, 'init')
end)
return analyzer
within the console I can then see a message:
| server | 0 | mod analyzer | init
But with any other event, nothing happens. For example, I also wanted to use the hourly event but how do I call it properly, I have tried 'stonehearth:time:hourly'
, 'stonehearth:calendar:hourly'
, 'stonehearth:hourly'
and 'radiant:hourly'
because inside the docs it’s not pretty clear how to call the specific event. Also
triggered every in-game hour by the calendar service
Inside the calendar service, I can’t find any function which triggers the event. What do I missing?
Regards,
LifeArtist