If you'd like to support our preservation efforts (and this wasn't cheap), please consider donating or supporting us on Patreon. Thank you!
User:S0r00t/Toontown
Random stuff about the game that should be done/added to the page.
Contents
Reorganizing
The article is a clusterfuck of random stuff.
- The "Prerelease" & "Prototype" pages needs important work. We only need one of them, for all 3 betas. Prototype is more complete than Prerelease, so I'd suggest we close Prerelease.
To be investigated
- The board games that were in Chip 'n Dale's and are still defined in the code
- The rpc/ folder (which contains empty/useless files)
- What exactly remains of the Cog Dominiums
Funny Farm
Definitions in the game's code
Funny Farm is defined as a Hood (=location) in the game.
Some basic strings about it can be found in TTLocalizerEnglish.py (TODO : are there strings definitions about Funny Farm in other languages?)
| File (line) | Content | Meaning |
|---|---|---|
| distributed/HoodMgr.py (781) | 'ff': ToontownGlobals.FunnyFarm |
'ff' is the prefix for the playground. |
| toonbase/ToontownGlobals.py (151) | FunnyFarm = 7000 |
7000 is the ID for Funny Farm. This means that whatever is defined under '7xxx' is for this playground. |
| toonbase/ToontownGlobals.py (481) | FunnyFarm: 'not done yet' |
This is supposed to be a path to the DNA map of the playground. Funny Farm was therefore under work. |
Logic in the game's code
While Funny Farm wasn't present in the game, basic game logic about it can be found.
toonbase/ToontownGlobals.py
- FF is defined as a hood, but explicitly omitted in the teleport list
- It has the same phase map (?) as other playgrounds
shtiker/MapPage.py
At line 21, this block of code can be found :
for hood in ToontownGlobals.Hoods:
if hood not in [ToontownGlobals.GolfZone, ToontownGlobals.FunnyFarm]:
self.allZones.append(hood)
It is explicitly not added to the teleport map here, too.
toon/LocalToon.py
When checking before playing animations/adding a Cog suit to the player, Funny Farm is in the "valid Hoods" list.
toon/DistributedToon.py
This file explains the semi-famous glitch that teleported players into "Funny Farm", which turned out to be an empty copy of Toontown Central.
In setDefaultZone (line 416) :
if ZoneUtil.getCanonicalHoodId(zoneId) == FunnyFarm:
self.defaultZone = ToontownCentral
return
cogdominium/DistributedCogdoInterior.py
Now, for the weird part.
Cog Dominiums were an aborted update made towards the end of the game's lifespan. Part of it got added in the game, under the name "Field Offices", or "FO".
This is completely unrelated to Funny Farm. However...
At line 140, this can be found:
if not self.shopOwnerNpc:
self.notify.warning('No shopkeeper in this cogdominium, using FunnyFarm Sellbot FO NPCToons')
random.seed(self.doId)
shopkeeper = random.randint(7001, 7009)
self.shopOwnerNpc = NPCToons.createLocalNPC(shopkeeper)
Seems like NPCs were defined for Funny Farm, and are used as fallback NPCs in the Field Offices...
Unused NPCs
| To do: Render the NPCs based on the definitions found in NPCToons.py, and take pictures of them. |
toon/NPCToons.py contains the definition of each of the game's NPCs.
After Donald's Dreamlands NPCs, at line 11314, you can find unused definitions for Funny Farm shopkeepers. Those are recognized with their ID, under the form 700x.
toonbase/TTLocalizerEnglish.py contains the name of those unused NPCs (starts at line 7592). As such, the following NPCs are defined for Funny Farm ː
- N. Prisoned
- R.E. Leaseme
- Lemmy Owte
- T. Rapped
- Little Helphere
- Gimmy Ahand
- Dewin Tymme
- Ima Cagedtoon
- Jimmy Thelock
Those names suggests that they were only added as a fallback for Field Offices.
Naming differences between the game & the code
Don't know if that's relevant, but...
- 'OutdoorZone' refers to Chip 'n Dale
- Cogs are still called "suits"
- CogDo/Cog Dominiums are the original name of Field Offices