mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-16 04:23:53 -04:00
initial item service implementation
This commit is contained in:
@@ -335,6 +335,14 @@ bool dEvent_manager_c::setObjectArchive(DUSK_CONST char* arcname) {
|
||||
|
||||
if (arcname != NULL) {
|
||||
rt = dComIfG_getObjectRes(arcname, DataFileName);
|
||||
#if TARGET_PC
|
||||
if (rt != nullptr && strcmp(arcname, "Prayer") == 0) {
|
||||
// pointer to Prayer event `011get_item` prm0 in it's event_list.dat
|
||||
u8* itemNo = static_cast<u8*>(rt) + 0x927;
|
||||
*itemNo =
|
||||
dusk::mods::item_check("Charlo Donation Blessing", dItemNo_KAKERA_HEART_e, NULL);
|
||||
}
|
||||
#endif
|
||||
int base_status = mEventList[BASE_ACTOR].init((char*)rt, -1);
|
||||
|
||||
#if DEBUG
|
||||
|
||||
Reference in New Issue
Block a user