diff --git a/GameSettings.cpp b/GameSettings.cpp index c4644e81..67c3b73b 100644 --- a/GameSettings.cpp +++ b/GameSettings.cpp @@ -2346,6 +2346,8 @@ void LoadModSettings(){ gModSettings.usPornShopRoomBrenda = iniReader.ReadInteger("San Mona", "PORN_SHOP_ROOM_BRENDA", 47); gModSettings.usPornShopRoomTony = iniReader.ReadInteger("San Mona", "PORN_SHOP_ROOM_TONY", 50); + gModSettings.iKyleMoneyGridNo = iniReader.ReadInteger("San Mona", "KYLE_MONEY_POSITION", 14952); + gModSettings.usLeatherShop = iniReader.ReadInteger("San Mona", "ANGELS_LEATHERSHOP", 2); gModSettings.iBambiDoorGridNo = iniReader.ReadInteger("San Mona", "DOOR_TO_BAMBIS_ROOM", 12290); gModSettings.iCarlaDoorGridNo = iniReader.ReadInteger("San Mona", "DOOR_TO_CARLAS_ROOM", 13413); diff --git a/GameSettings.h b/GameSettings.h index 7ae8f38b..db84fe61 100644 --- a/GameSettings.h +++ b/GameSettings.h @@ -1676,6 +1676,9 @@ typedef struct UINT16 usPornShopRoomBrenda; UINT16 usPornShopRoomTony; + // Kyle Lemmons Leather Shop Deed Quest + INT32 iKyleMoneyGridNo; + //Brothel Quests UINT16 usLeatherShop; INT32 iCarlaDoorGridNo; diff --git a/Tactical/Interface Dialogue.cpp b/Tactical/Interface Dialogue.cpp index d5815171..b422a7af 100644 --- a/Tactical/Interface Dialogue.cpp +++ b/Tactical/Interface Dialogue.cpp @@ -2437,7 +2437,9 @@ void HandleNPCDoAction( UINT8 ubTargetNPC, UINT16 usActionCode, UINT8 ubQuoteNum // add a money item with $10000 to the tile in front of Kyle // and then have him pick it up { - INT32 sGridNo = 14952; //dnl!!! + // this isn't mod friendly. Let's make a new Mod_Settings.ini value + // INT32 sGridNo = 14952; //dnl!!! + INT32 sGridNo = gModSettings.iKyleMoneyGridNo; INT32 iWorldItem; pSoldier = FindSoldierByProfileID( ubTargetNPC, FALSE );