- Externalized Kingpin money sector and Hospital sector (by Buggler)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6423 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-09-20 08:19:56 +00:00
parent 1e06d2a725
commit 8221472bc2
4 changed files with 43 additions and 6 deletions
+19
View File
@@ -360,6 +360,15 @@ void IniGlobalGameSetting(lua_State *L)
lua_pushinteger(L, gModSettings.iBrothelDoor3);
lua_setglobal(L, "iniBROTHEL_DOOR_3");
lua_pushinteger(L, gModSettings.ubKingpinMoneySectorX);
lua_setglobal(L, "iniKINGPIN_MONEY_SECTOR_X");
lua_pushinteger(L, gModSettings.ubKingpinMoneySectorY);
lua_setglobal(L, "iniKINGPIN_MONEY_SECTOR_Y");
lua_pushinteger(L, gModSettings.ubKingpinMoneySectorZ);
lua_setglobal(L, "iniKINGPIN_MONEY_SECTOR_Z");
//Gear Dropoff
lua_pushinteger(L, gModSettings.ubOmertaDropOffX);
lua_setglobal(L, "iniOMERTA_DROPOFF_X");
@@ -376,6 +385,16 @@ void IniGlobalGameSetting(lua_State *L)
//Alma
lua_pushinteger(L, gModSettings.sRocketRifleGridNo);
lua_setglobal(L, "iniROCKETRIFLE_POSITION");
//Hospital Sector
lua_pushinteger(L, gModSettings.ubHospitalSectorX);
lua_setglobal(L, "iniHOSPITAL_SECTOR_X");
lua_pushinteger(L, gModSettings.ubHospitalSectorY);
lua_setglobal(L, "iniHOSPITAL_SECTOR_Y");
lua_pushinteger(L, gModSettings.ubHospitalSectorZ);
lua_setglobal(L, "iniHOSPITAL_SECTOR_Z");
// -------------------------------
// Other global variables