/tg/ Station 13 - Modules - TypesProc Details

rpgloot_controller

rpgloot controller!

Stored in a global datum, and created when rpgloot is turned on via event or VV'ing the GLOB.rpgloot_controller to be a new /datum/rpgloot_controller. Makes every item in the world fantasy, but also hooks into global signals for new items created to also bless them with fantasy.

What do I mean by fantasy?

Procs

handle_current_items
on_new_item_in_existencesignal sent by a new item being created.

Proc Details

handle_current_items

handle_current_items

Gives every viable item in the world the fantasy component. If the item it is giving fantasy to is a storage item, there's a chance it'll drop in an item fortification scroll. neat!

on_new_item_in_existence

signal sent by a new item being created.