mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-10-31 00:37:54 +00: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
|
||||
|
||||
# Art assets:
|
||||
model-path resources/
|
||||
model-path ../resources/
|
||||
|
||||
# Server:
|
||||
server-version ttu-dev
|
||||
|
|
|
@ -25,7 +25,7 @@ class TTWhiteList(WhiteList, DistributedObject.DistributedObject):
|
|||
searchPath = DSearchPath()
|
||||
searchPath.appendDirectory(Filename('/phase_4/etc'))
|
||||
if __debug__:
|
||||
searchPath.appendDirectory(Filename('resources/phase_4/etc'))
|
||||
searchPath.appendDirectory(Filename('../resources/phase_4/etc'))
|
||||
found = vfs.resolveFilename(filename, searchPath)
|
||||
if not found:
|
||||
self.notify.info("Couldn't find whitelist data file!")
|
||||
|
|
|
@ -21,14 +21,14 @@ class DNABulkLoader:
|
|||
|
||||
def loadDNABulk(dnaStorage, file):
|
||||
dnaLoader = DNALoader.DNALoader()
|
||||
file = 'resources/' + file
|
||||
file = '../resources/' + file
|
||||
dnaLoader.loadDNAFile(dnaStorage, file)
|
||||
dnaLoader.destroy()
|
||||
|
||||
def loadDNAFile(dnaStorage, file):
|
||||
print 'Reading DNA file...', file
|
||||
dnaLoader = DNALoader.DNALoader()
|
||||
file = 'resources/' + file
|
||||
file = '../resources/' + file
|
||||
node = dnaLoader.loadDNAFile(dnaStorage, file)
|
||||
dnaLoader.destroy()
|
||||
if node.node().getNumChildren() > 0:
|
||||
|
@ -37,7 +37,7 @@ def loadDNAFile(dnaStorage, file):
|
|||
|
||||
def loadDNAFileAI(dnaStorage, file):
|
||||
dnaLoader = DNALoader.DNALoader()
|
||||
file = 'resources/' + file
|
||||
file = '../resources/' + file
|
||||
data = dnaLoader.loadDNAFileAI(dnaStorage, file)
|
||||
dnaLoader.destroy()
|
||||
return data
|
||||
|
|
|
@ -39,7 +39,7 @@ class NameGenerator:
|
|||
self.nameDictionary = {}
|
||||
searchPath = DSearchPath()
|
||||
if __debug__:
|
||||
searchPath.appendDirectory(Filename('resources/phase_3/etc'))
|
||||
searchPath.appendDirectory(Filename('../resources/phase_3/etc'))
|
||||
searchPath.appendDirectory(Filename('/phase_3/etc'))
|
||||
filename = Filename(TTLocalizer.NameShopNameMaster)
|
||||
found = vfs.resolveFilename(filename, searchPath)
|
||||
|
|
|
@ -1086,7 +1086,7 @@ class NPCMoviePlayer(DirectObject.DirectObject):
|
|||
|
||||
searchPath = DSearchPath()
|
||||
if __debug__:
|
||||
searchPath.appendDirectory(Filename('resources/phase_3/etc'))
|
||||
searchPath.appendDirectory(Filename('../resources/phase_3/etc'))
|
||||
searchPath.appendDirectory(Filename('/phase_3/etc'))
|
||||
scriptFile = Filename('QuestScripts.txt')
|
||||
found = vfs.resolveFilename(scriptFile, searchPath)
|
||||
|
|
Loading…
Reference in a new issue