RapidGameFramework
Reusable Godot managers for data-driven small games
Loading...
Searching...
No Matches
event_manager.gd File Reference

Loads JSON event packs and draws weighted events for data-driven decision games. More...

Go to the source code of this file.

Namespaces

namespace  event_manager
 

Variables

 event_manager.RARITY_WEIGHTS
 
 event_manager.DEFAULT_EVENT_PACK_DIR
 
 event_manager.DataCacheManager
 
 event_manager.all_events
 
 event_manager.events_by_pack
 
 event_manager.current_event = {}
 
 event_manager.data_cache_manager
 
 event_manager.String
 Load all event packs from a directory.
 
 event_manager.dir
 
 event_manager.f = dir.get_next()
 
 event_manager.pack_id
 
 event_manager.event
 Restore current event by id, usually from save state.
 
 event_manager.Dictionary
 Return events that match optional filter constraints.
 
 event_manager.events
 
 event_manager.event_pool
 
 event_manager.total
 
 event_manager.roll
 
 event_manager.running
 
 event_manager.bool
 
 event_manager.drawn_events
 

Detailed Description

Loads JSON event packs and draws weighted events for data-driven decision games.

Events are plain Dictionaries. Filters support pack, packs, rarity, rarities, and repeatable fields so games can layer their own progression rules.

Definition in file event_manager.gd.