mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Ah, almost forgot. Don't change it unless you create a new system for it yourself.
This commit is contained in:
parent
02c7dc11e4
commit
08ca47f23d
5 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
distribution dev
|
distribution dev
|
||||||
|
|
||||||
# Art assets:
|
# Art assets:
|
||||||
model-path resources/
|
model-path ../resources/
|
||||||
|
|
||||||
# Server:
|
# Server:
|
||||||
server-version ttu-dev
|
server-version ttu-dev
|
||||||
|
|
|
@ -25,7 +25,7 @@ class TTWhiteList(WhiteList, DistributedObject.DistributedObject):
|
||||||
searchPath = DSearchPath()
|
searchPath = DSearchPath()
|
||||||
searchPath.appendDirectory(Filename('/phase_4/etc'))
|
searchPath.appendDirectory(Filename('/phase_4/etc'))
|
||||||
if __debug__:
|
if __debug__:
|
||||||
searchPath.appendDirectory(Filename('resources/phase_4/etc'))
|
searchPath.appendDirectory(Filename('../resources/phase_4/etc'))
|
||||||
found = vfs.resolveFilename(filename, searchPath)
|
found = vfs.resolveFilename(filename, searchPath)
|
||||||
if not found:
|
if not found:
|
||||||
self.notify.info("Couldn't find whitelist data file!")
|
self.notify.info("Couldn't find whitelist data file!")
|
||||||
|
|
|
@ -21,14 +21,14 @@ class DNABulkLoader:
|
||||||
|
|
||||||
def loadDNABulk(dnaStorage, file):
|
def loadDNABulk(dnaStorage, file):
|
||||||
dnaLoader = DNALoader.DNALoader()
|
dnaLoader = DNALoader.DNALoader()
|
||||||
file = 'resources/' + file
|
file = '../resources/' + file
|
||||||
dnaLoader.loadDNAFile(dnaStorage, file)
|
dnaLoader.loadDNAFile(dnaStorage, file)
|
||||||
dnaLoader.destroy()
|
dnaLoader.destroy()
|
||||||
|
|
||||||
def loadDNAFile(dnaStorage, file):
|
def loadDNAFile(dnaStorage, file):
|
||||||
print 'Reading DNA file...', file
|
print 'Reading DNA file...', file
|
||||||
dnaLoader = DNALoader.DNALoader()
|
dnaLoader = DNALoader.DNALoader()
|
||||||
file = 'resources/' + file
|
file = '../resources/' + file
|
||||||
node = dnaLoader.loadDNAFile(dnaStorage, file)
|
node = dnaLoader.loadDNAFile(dnaStorage, file)
|
||||||
dnaLoader.destroy()
|
dnaLoader.destroy()
|
||||||
if node.node().getNumChildren() > 0:
|
if node.node().getNumChildren() > 0:
|
||||||
|
@ -37,7 +37,7 @@ def loadDNAFile(dnaStorage, file):
|
||||||
|
|
||||||
def loadDNAFileAI(dnaStorage, file):
|
def loadDNAFileAI(dnaStorage, file):
|
||||||
dnaLoader = DNALoader.DNALoader()
|
dnaLoader = DNALoader.DNALoader()
|
||||||
file = 'resources/' + file
|
file = '../resources/' + file
|
||||||
data = dnaLoader.loadDNAFileAI(dnaStorage, file)
|
data = dnaLoader.loadDNAFileAI(dnaStorage, file)
|
||||||
dnaLoader.destroy()
|
dnaLoader.destroy()
|
||||||
return data
|
return data
|
||||||
|
|
|
@ -39,7 +39,7 @@ class NameGenerator:
|
||||||
self.nameDictionary = {}
|
self.nameDictionary = {}
|
||||||
searchPath = DSearchPath()
|
searchPath = DSearchPath()
|
||||||
if __debug__:
|
if __debug__:
|
||||||
searchPath.appendDirectory(Filename('resources/phase_3/etc'))
|
searchPath.appendDirectory(Filename('../resources/phase_3/etc'))
|
||||||
searchPath.appendDirectory(Filename('/phase_3/etc'))
|
searchPath.appendDirectory(Filename('/phase_3/etc'))
|
||||||
filename = Filename(TTLocalizer.NameShopNameMaster)
|
filename = Filename(TTLocalizer.NameShopNameMaster)
|
||||||
found = vfs.resolveFilename(filename, searchPath)
|
found = vfs.resolveFilename(filename, searchPath)
|
||||||
|
|
|
@ -1086,7 +1086,7 @@ class NPCMoviePlayer(DirectObject.DirectObject):
|
||||||
|
|
||||||
searchPath = DSearchPath()
|
searchPath = DSearchPath()
|
||||||
if __debug__:
|
if __debug__:
|
||||||
searchPath.appendDirectory(Filename('resources/phase_3/etc'))
|
searchPath.appendDirectory(Filename('../resources/phase_3/etc'))
|
||||||
searchPath.appendDirectory(Filename('/phase_3/etc'))
|
searchPath.appendDirectory(Filename('/phase_3/etc'))
|
||||||
scriptFile = Filename('QuestScripts.txt')
|
scriptFile = Filename('QuestScripts.txt')
|
||||||
found = vfs.resolveFilename(scriptFile, searchPath)
|
found = vfs.resolveFilename(scriptFile, searchPath)
|
||||||
|
|
Loading…
Reference in a new issue