mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user