mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-10-30 16:27:54 +00:00
Remove Yes, No, OK (loudrob's favorite)
This commit is contained in:
parent
fe658a6b03
commit
e402d25e21
7 changed files with 23 additions and 66 deletions
2
dependencies/astron/dclass/stride.dc
vendored
2
dependencies/astron/dclass/stride.dc
vendored
|
@ -608,7 +608,7 @@ dclass DistributedToon : DistributedPlayer {
|
|||
setTunnelOut(int16, int16/10, int16/10, int16/10, int16/10, int16/100, int32/100) ownsend broadcast;
|
||||
setAnimState(char [0-1024], int16/1000, int16) broadcast ram ownsend airecv;
|
||||
setEmoteState(int16, int16/1000, int16) broadcast ram ownsend;
|
||||
setEmoteAccess(uint8[] = [1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]) required ownrecv db;
|
||||
setEmoteAccess(uint8[] = [1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]) required ownrecv db;
|
||||
setCustomMessages(uint16[] = []) required ownrecv db;
|
||||
setSleepAutoReply(uint32) broadcast clsend ownrecv;
|
||||
setResistanceMessages(pair16 [] = []) required ownrecv db;
|
||||
|
|
2
dependencies/config/release/dev.prc
vendored
2
dependencies/config/release/dev.prc
vendored
|
@ -43,6 +43,6 @@ cogdo-ratio 0.5
|
|||
default-directnotify-level info
|
||||
|
||||
# Crates:
|
||||
dont-destroy-crates #t
|
||||
dont-destroy-crate #t
|
||||
get-key-reward-always #t
|
||||
get-crate-reward-always #t
|
|
@ -283,9 +283,6 @@ EmoteList = ['Wave',
|
|||
'Banana Peel',
|
||||
'Resistance Salute',
|
||||
'Laugh',
|
||||
lYes,
|
||||
lNo,
|
||||
lOK,
|
||||
'Surprise',
|
||||
'Cry',
|
||||
'Delighted',
|
||||
|
@ -337,16 +334,13 @@ EmoteFuncDict = {'Wave': 0,
|
|||
'Banana Peel': 14,
|
||||
'Resistance Salute': 15,
|
||||
'Laugh': 16,
|
||||
lYes: 17,
|
||||
lNo: 18,
|
||||
lOK: 19,
|
||||
'Surprise': 20,
|
||||
'Cry': 21,
|
||||
'Delighted': 22,
|
||||
'Furious': 23,
|
||||
'Laugh': 24,
|
||||
'Taunt': 25,
|
||||
'Rage': 26}
|
||||
'Surprise': 17,
|
||||
'Cry': 18,
|
||||
'Delighted': 19,
|
||||
'Furious': 20,
|
||||
'Laugh': 21,
|
||||
'Taunt': 22,
|
||||
'Rage': 23}
|
||||
SuitBrushOffs = {'f': ["I'm late for a meeting."],
|
||||
'p': ['Push off.'],
|
||||
'ym': ['Yes Man says NO.'],
|
||||
|
|
|
@ -535,14 +535,14 @@ MonthlySchedule = ((7,
|
|||
CatalogClothingItem(1606, 0, True),
|
||||
CatalogClothingItem(1603, 0, True),
|
||||
CatalogClothingItem(1600, 0, True),
|
||||
CatalogEmoteItem(25, True),
|
||||
CatalogEmoteItem(26, True),
|
||||
CatalogEmoteItem(20, True),
|
||||
CatalogEmoteItem(21, True),
|
||||
CatalogEmoteItem(22, True),
|
||||
CatalogEmoteItem(23, True),
|
||||
CatalogEmoteItem(24, True),
|
||||
CatalogClothingItem(1821, 0, True))),
|
||||
CatalogEmoteItem(17, True),
|
||||
CatalogEmoteItem(18, True),
|
||||
CatalogEmoteItem(19, True),
|
||||
CatalogEmoteItem(20, True),
|
||||
CatalogEmoteItem(21, True),
|
||||
CatalogClothingItem(1821, True))),
|
||||
(5,
|
||||
26,
|
||||
6,
|
||||
|
|
|
@ -94,7 +94,7 @@ class DistributedToon(DistributedPlayer.DistributedPlayer, Toon.Toon, Distribute
|
|||
self.disguisePage = None
|
||||
self.sosPage = None
|
||||
self.gardenPage = None
|
||||
self.emoteAccess = [0] * 27
|
||||
self.emoteAccess = [0] * 24
|
||||
self.cogTypes = [0, 0, 0, 0]
|
||||
self.cogLevels = [0, 0, 0, 0]
|
||||
self.cogParts = [0, 0, 0, 0]
|
||||
|
|
|
@ -4240,10 +4240,6 @@ def maxToon(missingTrack=None):
|
|||
for emoteId in OTPLocalizer.EmoteFuncDict.values():
|
||||
if emoteId >= len(emotes):
|
||||
continue
|
||||
# The following emotions are ignored because they are unable to be
|
||||
# obtained:
|
||||
if emoteId in (17, 18, 19):
|
||||
continue
|
||||
emotes[emoteId] = 1
|
||||
invoker.b_setEmoteAccess(emotes)
|
||||
|
||||
|
@ -4311,10 +4307,6 @@ def unlocks():
|
|||
for emoteId in OTPLocalizer.EmoteFuncDict.values():
|
||||
if emoteId >= len(emotes):
|
||||
continue
|
||||
# The following emotions are ignored because they are unable to be
|
||||
# obtained:
|
||||
if emoteId in (17, 18, 19):
|
||||
continue
|
||||
emotes[emoteId] = 1
|
||||
invoker.b_setEmoteAccess(emotes)
|
||||
|
||||
|
|
|
@ -85,30 +85,6 @@ def doSleep(toon, volume = 1):
|
|||
return (track, duration, exitTrack)
|
||||
|
||||
|
||||
def doYes(toon, volume = 1):
|
||||
tracks = Parallel(autoFinish=1)
|
||||
for lod in toon.getLODNames():
|
||||
h = toon.getPart('head', lod)
|
||||
tracks.append(Sequence(LerpHprInterval(h, 0.1, Vec3(0, -30, 0)), LerpHprInterval(h, 0.15, Vec3(0, 20, 0)), LerpHprInterval(h, 0.15, Vec3(0, -20, 0)), LerpHprInterval(h, 0.15, Vec3(0, 20, 0)), LerpHprInterval(h, 0.15, Vec3(0, -20, 0)), LerpHprInterval(h, 0.15, Vec3(0, 20, 0)), LerpHprInterval(h, 0.1, Vec3(0, 0, 0))))
|
||||
|
||||
tracks.start()
|
||||
return (None, 0, None)
|
||||
|
||||
|
||||
def doNo(toon, volume = 1):
|
||||
tracks = Parallel(autoFinish=1)
|
||||
for lod in toon.getLODNames():
|
||||
h = toon.getPart('head', lod)
|
||||
tracks.append(Sequence(LerpHprInterval(h, 0.1, Vec3(40, 0, 0)), LerpHprInterval(h, 0.15, Vec3(-40, 0, 0)), LerpHprInterval(h, 0.15, Vec3(40, 0, 0)), LerpHprInterval(h, 0.15, Vec3(-40, 0, 0)), LerpHprInterval(h, 0.15, Vec3(20, 0, 0)), LerpHprInterval(h, 0.15, Vec3(-20, 0, 0)), LerpHprInterval(h, 0.1, Vec3(0, 0, 0))))
|
||||
|
||||
tracks.start()
|
||||
return (None, 0, None)
|
||||
|
||||
|
||||
def doOk(toon, volume = 1):
|
||||
return (None, 0, None)
|
||||
|
||||
|
||||
def doShrug(toon, volume = 1):
|
||||
sfx = base.loadSfx('phase_3.5/audio/sfx/avatar_emotion_shrug.ogg')
|
||||
|
||||
|
@ -363,10 +339,7 @@ EmoteFunc = [[doWave, 0],
|
|||
[doBow, 0],
|
||||
[doSlipBackward, 0],
|
||||
[doResistanceSalute, 0],
|
||||
[doNothing, 0],
|
||||
[doYes, 0],
|
||||
[doNo, 0],
|
||||
[doOk, 0],
|
||||
[doLaugh, 0],
|
||||
[doSurprise, 0],
|
||||
[doUpset, 0],
|
||||
[doDelighted, 0],
|
||||
|
@ -396,17 +369,15 @@ class TTEmote(Emote.Emote):
|
|||
13,
|
||||
14,
|
||||
15,
|
||||
16,
|
||||
17,
|
||||
18,
|
||||
19,
|
||||
20,
|
||||
21,
|
||||
22,
|
||||
23,
|
||||
24,
|
||||
25,
|
||||
26]
|
||||
self.headEmotes = [2,
|
||||
17,
|
||||
18,
|
||||
19]
|
||||
23]
|
||||
self.headEmotes = [2]
|
||||
if len(self.emoteFunc) != len(OTPLocalizer.EmoteList):
|
||||
self.notify.error('Emote.EmoteFunc and OTPLocalizer.EmoteList are different lengths.')
|
||||
self.track = None
|
||||
|
|
Loading…
Reference in a new issue