mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Add a command to allow you to max someones cog page.
This commit is contained in:
parent
20cbfe0f62
commit
4e2c303d3b
6 changed files with 22 additions and 6 deletions
|
@ -104,7 +104,7 @@ class StridePackager(NiraiPackager):
|
||||||
|
|
||||||
# Compile the engine
|
# Compile the engine
|
||||||
if args.compile_cxx:
|
if args.compile_cxx:
|
||||||
compiler = NiraiCompiler('stride.exe', libs=set(glob.glob('libpandadna/libpandadna.dir/Release/*.obj')))
|
compiler = NiraiCompiler('stride.exe', libs=set(glob.glob('c:/repos/libpandadna/libpandadna.dir/Release/*.obj')))
|
||||||
|
|
||||||
compiler.add_nirai_files()
|
compiler.add_nirai_files()
|
||||||
compiler.add_source('src/stride.cxx')
|
compiler.add_source('src/stride.cxx')
|
||||||
|
|
2
dependencies/astron/config/cluster.yml
vendored
2
dependencies/astron/config/cluster.yml
vendored
|
@ -33,7 +33,7 @@ uberdogs:
|
||||||
roles:
|
roles:
|
||||||
- type: clientagent
|
- type: clientagent
|
||||||
bind: 0.0.0.0:7199
|
bind: 0.0.0.0:7199
|
||||||
version: "tts-dev"
|
version: "stride-beta-dev-g20cbfe0"
|
||||||
client:
|
client:
|
||||||
relocate: true
|
relocate: true
|
||||||
add_interest: enabled
|
add_interest: enabled
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
# Client settings
|
# Client settings
|
||||||
window-title Toontown Stride [Beta]
|
window-title Toontown Stride [Beta]
|
||||||
server-version SERVER_VERSION_HERE
|
server-version stride-beta-dev-g3af22c4
|
||||||
video-library-name p3ffmpeg
|
video-library-name p3ffmpeg
|
||||||
want-dev #f
|
want-dev #f
|
||||||
preload-avatars #t
|
preload-avatars #t
|
||||||
|
|
|
@ -8,6 +8,7 @@ echo #1 - Localhost
|
||||||
echo #2 - Dev Server
|
echo #2 - Dev Server
|
||||||
echo #3 - Custom
|
echo #3 - Custom
|
||||||
echo #4 - Local RemoteDB
|
echo #4 - Local RemoteDB
|
||||||
|
echo #5 - Prod Server
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
:selection
|
:selection
|
||||||
|
@ -21,6 +22,8 @@ if %INPUT%==1 (
|
||||||
set TTS_GAMESERVER=167.114.220.172
|
set TTS_GAMESERVER=167.114.220.172
|
||||||
) else if %INPUT%==4 (
|
) else if %INPUT%==4 (
|
||||||
set TTS_GAMESERVER=127.0.0.1
|
set TTS_GAMESERVER=127.0.0.1
|
||||||
|
) else if %INPUT%==5 (
|
||||||
|
SET TTS_GAMESERVER=lw2.ez-webz.com:7198
|
||||||
) else if %INPUT%==3 (
|
) else if %INPUT%==3 (
|
||||||
echo.
|
echo.
|
||||||
set /P TTS_GAMESERVER=Gameserver:
|
set /P TTS_GAMESERVER=Gameserver:
|
||||||
|
@ -59,6 +62,7 @@ echo ===============================
|
||||||
|
|
||||||
cd ../../
|
cd ../../
|
||||||
|
|
||||||
|
:main
|
||||||
if %INPUT%==2 (
|
if %INPUT%==2 (
|
||||||
"C:\Panda3D-1.10.0\python\ppython.exe" -m toontown.toonbase.ToontownStartRemoteDB
|
"C:\Panda3D-1.10.0\python\ppython.exe" -m toontown.toonbase.ToontownStartRemoteDB
|
||||||
) else if %INPUT%==4 (
|
) else if %INPUT%==4 (
|
||||||
|
@ -66,5 +70,6 @@ if %INPUT%==2 (
|
||||||
) else (
|
) else (
|
||||||
"C:\Panda3D-1.10.0\python\ppython.exe" -m toontown.toonbase.ToontownStart
|
"C:\Panda3D-1.10.0\python\ppython.exe" -m toontown.toonbase.ToontownStart
|
||||||
)
|
)
|
||||||
|
|
||||||
pause
|
pause
|
||||||
|
|
||||||
|
goto main
|
||||||
|
|
|
@ -27,7 +27,7 @@ class DistributedMMPiano(DistributedObject.DistributedObject):
|
||||||
taskMgr.doMethodLater(4, self.setupGeom, self.uniqueName('setup-geom'))
|
taskMgr.doMethodLater(4, self.setupGeom, self.uniqueName('setup-geom'))
|
||||||
|
|
||||||
def setupGeom(self, task):
|
def setupGeom(self, task):
|
||||||
geom = self.cr.playGame.getPlace().loader.geom
|
'''geom = self.cr.playGame.getPlace().loader.geom
|
||||||
self.piano = geom.find('**/center_icon')
|
self.piano = geom.find('**/center_icon')
|
||||||
if self.piano.isEmpty():
|
if self.piano.isEmpty():
|
||||||
loader.notify.error('Piano not found')
|
loader.notify.error('Piano not found')
|
||||||
|
@ -43,7 +43,7 @@ class DistributedMMPiano(DistributedObject.DistributedObject):
|
||||||
base.cr.parentMgr.registerParent(ToontownGlobals.SPMinniesPiano, self.piano)
|
base.cr.parentMgr.registerParent(ToontownGlobals.SPMinniesPiano, self.piano)
|
||||||
self.accept('enter' + self.whitePartNodeName, self.__handleOnFloor)
|
self.accept('enter' + self.whitePartNodeName, self.__handleOnFloor)
|
||||||
self.accept('exit' + self.whitePartNodeName, self.__handleOffFloor)
|
self.accept('exit' + self.whitePartNodeName, self.__handleOffFloor)
|
||||||
self.accept('entermid_fishpond', self.__handleChangeDirectionButton)
|
self.accept('entermid_fishpond', self.__handleChangeDirectionButton)'''
|
||||||
self.speedUpSound = base.loadSfx('phase_6/audio/sfx/SZ_MM_gliss.ogg')
|
self.speedUpSound = base.loadSfx('phase_6/audio/sfx/SZ_MM_gliss.ogg')
|
||||||
self.changeDirectionSound = base.loadSfx('phase_6/audio/sfx/SZ_MM_cymbal.ogg')
|
self.changeDirectionSound = base.loadSfx('phase_6/audio/sfx/SZ_MM_cymbal.ogg')
|
||||||
self.__setupSpin()
|
self.__setupSpin()
|
||||||
|
|
|
@ -5040,6 +5040,17 @@ def unlimitedGags():
|
||||||
av.setUnlimitedGags(not av.unlimitedGags)
|
av.setUnlimitedGags(not av.unlimitedGags)
|
||||||
return 'Toggled unlimited gags %s for %s' % ('ON' if av.unlimitedGags else 'OFF', av.getName())
|
return 'Toggled unlimited gags %s for %s' % ('ON' if av.unlimitedGags else 'OFF', av.getName())
|
||||||
|
|
||||||
|
@magicWord(category=CATEGORY_PROGRAMMER)
|
||||||
|
def maxCogpage():
|
||||||
|
""" Max the target's cog Page.. """
|
||||||
|
target = spellbook.getTarget()
|
||||||
|
deptCount = len(SuitDNA.suitDepts)
|
||||||
|
target.b_setCogCount(list(CogPageGlobals.COG_QUOTAS[1]) * deptCount)
|
||||||
|
cogStatus = [CogPageGlobals.COG_COMPLETE2] * SuitDNA.suitsPerDept
|
||||||
|
target.b_setCogStatus(cogStatus * deptCount)
|
||||||
|
target.b_setCogRadar([1, 1, 1, 1])
|
||||||
|
target.b_setBuildingRadar([1, 1, 1, 1])
|
||||||
|
|
||||||
@magicWord(category=CATEGORY_PROGRAMMER)
|
@magicWord(category=CATEGORY_PROGRAMMER)
|
||||||
def immortal():
|
def immortal():
|
||||||
""" Make target (if 500+) or self (if 499-) immortal. """
|
""" Make target (if 500+) or self (if 499-) immortal. """
|
||||||
|
|
Loading…
Reference in a new issue