hIdDeN_eViL
{кοтоя дѕѕαѕѕїй}²
i have a problem combining this mod with the random events mod, as both edit the file CvEventInterface in python\entrypoints\
the random events mod has the following code:
import CvRandomEventsEventManager
from CvPythonExtensions import *
normalEventManager = CvRandomEventsEventManager.CvRandomEventsEventManager()
def getEventManager():
return normalEventManager
def onEvent(argsList):
'Called when a game event happens - return 1 if the event was consumed'
return getEventManager().handleEvent(argsList)
<snip>
whilst the realfort mod has the following:
import CvCustomEventManager
from CvPythonExtensions import *
normalEventManager = CvCustomEventManager.CvCustomEventManager()
def getEventManager():
return normalEventManager
def onEvent(argsList):
'Called when a game event happens - return 1 if the event was consumed'
return getEventManager().handleEvent(argsList)
<snip>
how can i combine these mods!?!??! HELP!!!
the random events mod has the following code:
import CvRandomEventsEventManager
from CvPythonExtensions import *
normalEventManager = CvRandomEventsEventManager.CvRandomEventsEventManager()
def getEventManager():
return normalEventManager
def onEvent(argsList):
'Called when a game event happens - return 1 if the event was consumed'
return getEventManager().handleEvent(argsList)
<snip>
whilst the realfort mod has the following:
import CvCustomEventManager
from CvPythonExtensions import *
normalEventManager = CvCustomEventManager.CvCustomEventManager()
def getEventManager():
return normalEventManager
def onEvent(argsList):
'Called when a game event happens - return 1 if the event was consumed'
return getEventManager().handleEvent(argsList)
<snip>
how can i combine these mods!?!??! HELP!!!