Resources Expanded (v 6)--disable a resource

Neofita

Chieftain
Joined
Jun 30, 2014
Messages
10
I use this mod- Resources Expanded (v 6)

Unfortunately it does not work olives,special building who changes the olives in oil does not make sense if there is no oil
Can someone tell me what file to disable olives with building
I do not know much about modding and patches,I only know of 0 disables and 1 turns on
I think that you need to disable any of these lines but I'd like to ask for certainty.......I do not know whether this is a good file :) I showed what is in the file modinfo

<File md5="99B61D65A5BC4FA1AA61BBE192CDCCB3" import="1">Art/CoffeeTree/plantation_ind_coffee.fxsxml</File>
<File md5="0818DDD23A69BB427943DA76CE77857F" import="1">Art/CoffeeTree/plantation_ind_coffee.gr2</File>
<File md5="0DBFCCDE9E0E81CCC3D18A9AC89B10AA" import="1">Art/CoffeeTree/plantation_mid_coffee.fxsxml</File>
<File md5="8E78E467EC2453261E950F310CCFD3A8" import="1">Art/CoffeeTree/plantation_mid_coffee.gr2</File>
<File md5="A761CF468D1FF14BD853B91DB7EF463F" import="1">Art/CoffeeTree/resource_coffee.fxsxml</File>
<File md5="7BF4DD39DB4C69039C4DA13ADCB8562E" import="1">Art/CoffeeTree/resource_coffee.gr2</File>
<File md5="F1BC321734825FE439C51D759EC42D7D" import="1">Art/CoffeeTree/resource_coffee_diff.dds</File>
<File md5="24EB82F65825B9E17804ED95205AB422" import="1">Art/Icons/REX-FontIcons.dds</File>
<File md5="ACB65D43422759396EB0934AFBD9D8E8" import="1">Art/Icons/REX-FontIcons.ggxml</File>
<File md5="79CAE80C193BFF17A452E95601EBACE7" import="1">Art/Icons/REX_Atlas128.dds</File>
<File md5="C5A76D74C7D65CEB7315A10184E7A1AF" import="1">Art/Icons/REX_Atlas256.dds</File>
<File md5="66D32CF6B6994A4B160E592905B72564" import="1">Art/Icons/REX_Atlas45.dds</File>
<File md5="A0D40F8AB06E0304E5DA212D2C90F396" import="1">Art/Icons/REX_Atlas64.dds</File>
<File md5="985B6A73226E876D36B33C1F58155166" import="1">Art/Icons/REX_Atlas80.dds</File>
<File md5="6649B224B5990B60E86E38D8838D3AF4" import="1">Art/SV Icons/SV_REXBeans.dds</File>
<File md5="D81D922F9345A3811A3FC27858C30CEF" import="1">Art/SV Icons/SV_REXOlives.dds</File>
<File md5="A5B24B25962D2B0450CF14817CDCD4E9" import="1">Art/SV Icons/SV_REXPlatinum.dds</File>
<File md5="4FC1062DB2C08D696F28EE7ED8459D31" import="1">Art/SV Icons/SV_REXTimber.dds</File>
<File md5="439E8DA64B932BE1D9403D5A534D2595" import="0">Database/REX_Buildings.sql</File>
<File md5="2B03DF786076595F86B9B8C30F13AB9C" import="0">Database/REX_Resources.sql</File>
<File md5="D3C58FF705017B8801C8F244D7DDD80D" import="0">Database/REX_Art.sql</File>
<File md5="32B9F52D6AA8F7032650C0236E02B4D1" import="0">Localization/Language_en_US.xml</File>
<File md5="00B2C9D7D68363FFA4B7EA9F8C4789F2" import="1">Lua/AddRexResources.lua</File>
<File md5="4EDD5D3190A4F831FDCF23316602EF51" import="1">Lua/ResRexGenerator.lua</File>
<File md5="37CDB72804721D82053D063924E54A48" import="1">Lua/ResRexGeneratorFunctions.lua</File>
<File md5="6BA0F9D3E0609F504D0D07992B3195FF" import="1">Lua/REX_Main.lua</File>
 
I'm not sure I understand your complaint, but your request is easy enough:
You'll need to change 3 files (the .modinfo can stay as it is):
  • Lua\AddRexResources.lua to remove the line:
    Code:
    OnMapResourceGenerator("RESOURCE_REX_OLIVES" , {"FEATURE_JUNGLE", "FEATURE_FOREST"} );
  • Database\REX_Buildings.sql to remove all lines referencing the BUILDING_OLIVE_PRESS.
  • Database\REX_Resources.sql to remove all lines referencing the RESOURCE_REX_OLIVES and RESOURCE_REX_OLIVE_OIL.

[Luckily, none of these are the last entry in a given SELECT statement so you don't have to worry about changing the UNION ALL and semicolon terminator.]
 
Back
Top Bottom