mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Bugfix: Fixed issue with the Leather Shop Deed quest (by silversurfer)
o On modified maps Kyle couldn't reach the temp money for the reward. Now there is a new parameter in Mod_Settings.ini called KYLE_MONEY_POSITION = x. The default for x is 14952 which is for vanilla map. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6343 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -1676,6 +1676,9 @@ typedef struct
|
||||
UINT16 usPornShopRoomBrenda;
|
||||
UINT16 usPornShopRoomTony;
|
||||
|
||||
// Kyle Lemmons Leather Shop Deed Quest
|
||||
INT32 iKyleMoneyGridNo;
|
||||
|
||||
//Brothel Quests
|
||||
UINT16 usLeatherShop;
|
||||
INT32 iCarlaDoorGridNo;
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user