From 0b7768837bed2aa521de5b9b76b2348943d7db20 Mon Sep 17 00:00:00 2001 From: Jedzkie Date: Sun, 31 May 2020 10:53:09 +0800 Subject: Added configuration on allowing actions on player when dead. --- src/map/script.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 45c954dc0..1ae20c42a 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -27871,6 +27871,11 @@ static void script_hardcoded_constants(void) script->set_constant("P_AIRSHIP_INVALID_END_MAP", P_AIRSHIP_INVALID_END_MAP, false, false); script->set_constant("P_AIRSHIP_ITEM_NOT_ENOUGH", P_AIRSHIP_ITEM_NOT_ENOUGH, false, false); script->set_constant("P_AIRSHIP_ITEM_INVALID", P_AIRSHIP_ITEM_INVALID, false, false); + + script->constdb_comment("player allowed actions when dead"); + script->set_constant("PCALLOWACTION_NONE", PCALLOWACTION_NONE, false, false); + script->set_constant("PCALLOWACTION_TRADE", PCALLOWACTION_TRADE, false, false); + script->set_constant("PCALLOWACTION_CHAT", PCALLOWACTION_CHAT, false, false); script->constdb_comment("questinfo types"); script->set_constant("QINFO_JOB", QINFO_JOB, false, false); -- cgit v1.2.3-70-g09d2