Dev:SDK/Slave Girl - Events - Common

From Slavemaker Wiki
Jump to: navigation, search
<<first <prev SDK/Slave Girl - Events - Common next> last>>


SlaveMaker 3 SDK Events

_______________________________________________________________

Standard Events Common to all Girls

The common events in the game like love confessions, owner testing, buyers, rescuers will always first call any of 3 functions, and then a function to show the graphics

Events with only a Next Button

These methods call the slavegirl's function

DoEventNext

function DoEventNext() : Boolean

On calling the root variable

_root.NumEvent will be set to the event number. See lower for a list of event numbers

If you wish to handle the event and override default behaviour return true

Please note you may wish to alter shown buttons, see Core - Buttons.rtf

After the event is done the game will call

AfterEventNext

function AfterEventNext()

Normally use to alter/update text
variable _root.OldNumEvent has the event called when DoEventNext was called.

Events with a Yes/No button

If the player answers Yes then the game will call

DoEventYes

function DoEventYes() : Boolean

Otherwise the same as above

After it will call

AfterEventYes

function AfterEventYes()

Normally use to alter/update text for a standard event
variable _root.OldNumEvent has the event called when DoEventNext was called.


If the player answers No then the game will call

DoEventNo

function DoEventNo() : Boolean

Otherwise the same as above

After it will call

AfterEventNo

function AfterEventNo()

Normally use to alter/update text
variable _root.OldNumEvent has the event called when DoEventNext was called.


Events with multiple questions

Started using AshHerQuestions, these work exactly the same as for the Next button Case


Morning Events

Each morning before daily events the game will call

PreEvent

function PreEvent() : Boolean

If you decide to have an event return true. The game will automatically display the NextEvent button if the AskQuestions prompt is not visible


Daily Events

After morning events are resolved the game will do the standard daily events (including contests and end of game). After some standard events the game will call

Events

function Events() : Boolean

If you wish to do a custom event call

_root.DoEvent(eventno);

where eventno is the number of the custom event you wish to do. Event numbers 300 to 499 are reserved for slave girl use

By default this will show the NextEvent button and will hide any other shown buttons.

_______________________________________________________________

Event Numbers

Generally events are grouped by numbers, with these general bands

0-99 - core game events
100-199 - tentacle events
200-249 - dickgirl events
250-269 - core game events (new day)
270-299 - lesbian events
300-999 - reserved for slave girl use
2000-2500 - Catgirls
3000-3999 - Combat
4000-4999 - Events while walking
4080-4099 - Milking
4100-4199 - Evil Mine
4200-4299 - Faeries
4300-4399 - Beach events
5000-5999 - events related to Slave Maker backgrounds/talents
6000-6999 - house exploration
7000-7999 - reserved for assistant use
8000-8499 - events while visiting a person
8500-8999 - furry events
9000-9799 - internal game use
9800-9899 - bad end use
9900-9999 - internal game use
10000-10999 - reserved for custom event use
11000-12000 - Job and Training related


yes/no events
0 - travelling salesman visits
1 - party arrives to rescue slave girl and asks for a bribe
2 - a male buyer offers to purchase her
2.1 - a female buyer offers to purchase her
3 - love confession
6 - take pill from odd man/dg
7 - drink nymph's tears
8 - fortune teller visits
9 - sex with cute lesbian
10 - sex with sailor
11 - Early Training Complete
13 - sold to nobleman
20 - buy her back at end of game
21 - train by Meesh
31 - will work as a chef
32 - sleazy bar striptease
33 - sleazy bar service (if asked), male customer
33.1 - sleazy bar service (if asked), female customer
34 - club lick
35 - club refuse
36 - club agree to lick later
37 - club refuse later
38.1 - male requests service in the onsen
38.2 - female requests service in the onsen
38.3 - dickgirl requests service in the onsen
39 - force owned slave to do act
40 - investiage exorcism
41 - change assistant
100 - search for her when tentacle abducted
200 - drink Priapus Draft
220 - drink anitdote to Priapus Draft
271 - Start Lesbian Training?
4070 - agree to Private tutors price
4080 - take milk drug
4115 - hire medium during evil mine
4304 - Beach Swim - take a lesson
4305 - Beach Swim - Get lost swimsuit
6001 - entertain high priestess Daruna
8020 - attend prostitutes party
8040 - attend high class party
8079 - courtesan training
11001 - Seek out Lord
11002 - Lady Farun
11003 - Ambassadors
11004 - Guild Officials
11005 - Other nobles
next/questions events
14 - show contest menu (only valid during a contest)
15 - same a pressing Next button during a contest
30 - runaway slave
33 - sleazy bar service (if she does it automatically) - male customer
33.1 - sleazy bar service (if she does it automatically) - female customer
36 - club meeting
100 - Tentacle Abduction Start
101 - Tentacle Abduction area 1 (l/r junction)
102 - Tentacle Abduction - Chamber E1
103 - Tentacle Abduction - Chamber E2
104 - Tentacle Abduction - area 2 (l/r junction)
105 - Tentacle Abduction - area 3 (f/b chamber)
106 - Tentacle Abduction - area 4 (l/r junction)
107 - Tentacle Abduction - Chamber E4
108 - Tentacle Abduction - Chamber E3
109 - Tentacle Abduction - Chamber E5
110 - Tentacle Abduction - Chamber E6
120 - Tentacle Abduction - Main Chamber entry
121 - Tentacle Abduction - Main Chamber rescue!
122 - Tentacle Abduction - Main Chamber abandoned - aftermath
125/126 - Tentacle Abduction - Defeat - part 1
127 - Defeat - Submit
128, 128.5 Defeat - Resist
131 - acolyte tentacle raid - run
132 - acolyte tentacle raid - help
140 - Assistant Tentacle Sex
141 - Slave Maker Tentacle Sex
190 - tentacle pregnancy
200 - drink Priapus Draft (non permanent transform) - generally ignore this, use the functions provided
201 - drink Priapus Draft (non permanent) - her cock grows - generally ignore this
202 - drink Priapus Draft (permanent transform) - her cock grows - generally ignore this, use the functions provided
210 - drink Priapus Draft (permanent transform) - Astrid examines her - generally ignore this, use the functions provided
211 - drink Priapus Draft (permanent transform) - Astrid tells her she is now a permanent dickgirl - generally ignore this, use the functions provided
212 - drink Priapus Draft (permanent transform) - update stats - generally ignore this, use the functions provided
240 - after drinking potion - generally ignore this, use the functions provided
270 - Lesbian Training start
4010 - Puppy Girl - peek at puppy girl's 'Mine'
4011 - Puppy Girl - say 'Look Catgirl'
4012 - Puppy Girl - get servant to play and fuck 'Mine'
4013 - Puppy Girl - no do not trick
4014 - Meigura offers wish or leave city
4015 - Meigura Leave City
4016 - Meigura Wish - ask type
4017 - Wish - Freedom
4018 - Wish - Love
4019 - Wish - Health
4020 - Comfort Bit Tit Slave
4021 - Promise to free Bit Tit Slave
4025 - Slave Comfort - give teddy bear
4026 - Slave Comfort - no teddy bear
4030 - Slave Pens - Escapee - Run for Help - Deformed
4031 - Slave Pens - Escapee - Run for Help - Tentacle
4032 - Slave Pens - Escapee - Help - Deformed
4033 - Slave Pens - Escapee - Help - Tentacle
4040 - Slave Pens - Tell the girls
4041 - Slave Pens - Slap Him
4050 - Slave Pens - dg slave blowjob
4051 - Slave Pens - dg slave refuse
4080 - First Milking
4081 - End of First Milking
4082 - Milk Drug Confront Farmer - Punch farmer
4083 - Milk Drug Confront Farmer - promise to tell lord, questions asked for 4088, 4087
4084 - Milk Drug Confront Farmer - Male SlaveMaker - next morning, I have breasts, female gender change
4085 - Milk Drug Confront Farmer - Male SlaveMaker - next morning, I am a woman?, dickgirl gender change
4086 - Milk Drug Confront Farmer - rescued and go to Lord
4087 - Milk Drug Confront Farmer - refuse to wait and go to Lord
4088 - Milk Drug Confront Farmer - agree to wait
4200/4203 - Fairy rescue - free her
4201 - Fairy Rescue - leave
4202 - Fairy Rescue - rebind her
4204 - Fairy Rescue - sell reward gem
4205 - Fairy Rescue - eat reward gem
4207 - Fairy Rescue - eat spider berry
4300 - Swim at the beach
4301 - Walk at the beach
4302 - Private areas at the beach
4303 - Rocks at the beach
4310 - Beach Guide - Swimming
4311 - Beach Guide - Swimming Instructor
4312 - Beach Guide - Walking
4313 - Beach Guide - Private
4314 - Beach Guide - Rocks
4315 - Beach Guide - Mermaids
4320 - Beach Swim - Mermaid Rescue - Swim to Help
4321 - Beach Swim - Mermaid Rescue - Look to supervisor
4322 - Beach Swim - Mermaid Rescue - Scream for Help
4323/4324/4325 - Beach Swim - Mermaid Rescue - Mermaid Revenge
4330 - Beach Walk - Mermaid Assault - slave help
4331 - Beach Walk - Mermaid Assault - supervisor help
4332 - Beach Walk - Mermaid Assault - slave helpless
4333 - Beach Walk - Mermaid Assault - thanks
5010 - demon cock mc - any sex
5011 - demon cock mc - arousal
5012 - demon cock mc - any non sex
5013 - demon cock mc - obey
5014 - demon cock mc - desire
5015 - demon cock mc - visions
5016 - demon cock - ass fuck
5017 - demon cock - resist ass fuck
5020 - demon ancestory - destroy
5021 - demon ancestory - destroy and take
5022 - demon ancestory - nothing
5030 - tentacle hybrid - nun vision 1

// House

6000 - rent for temple house
6999 - end of house exlporation

// Visit/Party events

8000 - ask barmaid about herself
8001 - Barmaid bj
8002 - Barmaid gossip
8003 - first meeting with barmaid
8010 - After Lady Farun
8012 - After Prostitute
8020 - start of prostitute party
8026 - prostitute party - Accompany - normal
8027 - prostitute party - Maids
8028 - prostitute party - Accompany - dickgirl 1
8029 - prostitute party - Accompany - dickgirl 2
8030 - serve as maid, choose place
8031 - serve as maid - outside
8032 - serve as maid - upstairs
8033 - serve as maid - basement
8034 - serve as maid - cum dining
8039 - prostitute party - end of party
8040 - start of high class party
8041 - high class party - Intro - Dancing
8042 - high class party - Intro - Dinner
8043 - high class party - Intro - Seance
8044 - high class party - Intro - Maids
8046 - high class party - Accompany - start
8047 - high class party - Accompany - innuendo
8048 - high class party - Accompany - forthcoming
8049 - high class party - Dancing
8050 - high class party - Dinner
8051 - high class party - Maids
8052 - high class party - Maid - sex
8053 - high class party - Maid - demon girl
8055 - high class party - Maid - visit
8056 - high class party - seance
8057 - high class party - seance - wait
8058 - high class party - seance - help
8059 - high class party - seance - masturbate
8060 - high class party - talk
8065 - high class party - invite Lady Azure to dance
8066 - high class party - fake message for Lady Azure
8079 - high class party - end of party, home with servant
8079 - high class party - end of party, home with Lady Okyanu
8200 - Lady Farun - access ruins
8201 - Lady Farun - Fix Race
8202 - Lady Farun - Money
8203 - Lady Farun - Nothing
8300 - Bounty Hunter - refuse to give her
8301 - Bounty Hunter - give her freely
8302 - Bounty Hunter - give her conditionally
8303 - Bounty Hunter - services needed after visit
8500 - Furry Forest chase 1
8501 - Furry Forest chase 2
8502 - Furry cat Palace meeting 1
8503 - Furry cat Palace meeting 2
8504 - Furry cat Palace meeting 3
9800 - game over
9810 - Bad End sold a slave
9820 - Bad End Breast Enlargement

special - generally do not use or intercept

9700 - while shopping in shop will show a next button and return you to the shop when next clicked
9701 - ditto, for dealer
9702 - dito, for salon
9703 - ditto, stables
9999 - do not intercept this, but call
_root.DoEvent(9999)
for an event with the Next button that will return to the main screen with no other standard effects


________________________________________________________________


Core Event Functions and Custom Events

Call the following fuctions to trigger an event. Event numbers 300-999 are reserved for slave girl use. These are _root functions, not to be overridden, except where noted above

Please see Core - Buttons.rtf for details on these functions

DoEvent

- do an event and show the NextEvent button.

DoYesNoEvent

- display yes/no buttons at the bottom of the general text area

DoYesNoEventXY

- display yes/no buttons immediately below the last displayed text, will wrap in the the larger text area as needed

PositionYesNo

- Reposition the yes/no buttons, generally use this if you add more text after displaying the buttons, say using AfterDoActions

AskHerQuestions

- ask up to 5 questions

PositionQuestions

- Reposition the questions, generally use this if you add more text after displaying the buttons, say using AfterDoActions

ResetQuestions

- Reset and hide all questions

AddQuestion

- Add a question to the list, call 1+ times. Any more than 5 are ignored

ShowQuestions

- Show the questions dialogue

HideQuestions

- Will hide the questions, generally use ResetQuestions() unless you wish to preserve any added questions


________________________________________________________________


Other Event Functions

These functions are called for a standard events.Override for your slave girl to show the girls graphics and any text you want

Mandatory Functions
ShowDating

function ShowDating()

Show an image of her dating a lover, or just of her being seductive


ShowTired

function ShowTired(cum:Boolean)

Show her looking exhausted. If cum == true show her covered in cum


ShowPropositionAccepted

function ShowPropositionAccepted()

She her having sex in public


ShowPropositionRefused

function ShowPropositionRefused()

Show her upset and maybe a little slutty


ShowRetrieved

function ShowRetrieved() : Boolean

Show her tied up after being retrieved after running away or being rescued`
return true to disable any standard events
NumEvent == 30 - she ran away and was recaptured
1 - she was rescued and retrieved


ShowLoveConfession

function ShowLoveConfession()

Show her confessing her love to you


ShowLoveAccepted

function ShowLoveAccepted() : Boolean

Show her happy at you accepting her love.

Normally return false, return true and it disables the Next button

The return parameter will be removed in a future version


ShowLoveRefused

function ShowLoveRefused()

Show her sad at you refusing her love confession


Optional

ShowDemonRape

function ShowDemonRape() : Boolean

Show her being raped by a demon (male)

return true if you show a graphic, otherwise a generic graphic is shown


ShowNakedApron

function ShowNakedApron() : Boolean

Show her wearing only an apron.

return true if you show a graphic, otherwise a generic graphic is shown


ShowRaped

function ShowRaped() : Boolean

Show her being raped

return false to show a generic graphic


ShowMorningMouthfull

function ShowMorningMouthfull() : Boolean

Show her receiving a mouthfull of cum

return true if she is awake in the graphic, else false


See Slave Girl - Milking.rtf for details on these

ShowMilkFall

function ShowMilkFall() : Boolean

ShowMilking

function ShowMilking()

ShowMilkAccident

function ShowMilkAccident()

ShowMilkEnd

function ShowMilkEnd() : Boolean


ShowTentaclePregnancyReveal

function ShowTentaclePregnancyReveal() : Boolean

Show her in an advanced stage of pregnancy

return true if you show the graphic, otherwise a generic graphic is shown

Only used if tentacles are enabled


ShowTentaclePregnancyBirth

function ShowTentaclePregnancyBirth() : Boolean

Show her giving birth to a monster

return true if you show the graphic, otherwise a generic graphic is shown

Only used if tentacles are enabled


ShowTrainingComplete

function ShowTrainingComplete() : Boolean

Show an image when her training finishes, Normally also some custom text

return true to disable standard graphics


OwnerTest

function OwnerTest(str:String, gain:Number) : Boolean

Customise the message when the slave girls owner visits and test her every 7 days
str - what is tested eg "talents as a maid"
gain - amount of money paid

return true to disable standard messages and show your own


OwnerTestSpecial

function OwnerTestSpecial() : Boolean

Totally customise owner testing, no standard messages or money gain

return true to override standard testing

Note these previous two functions will be combined in a later revision


EventByuer

function EventBuyer() : Boolean

Totally customise the event where a person offers to buy her. Before NumEvent = 2, Yes/No buttons will be shown after this call,

return true to override standard messages


OldLoverDating

function OldLoverDating()

Override to alter the text/graphics when she sees her older lover


OldLoverStartDating

function OldLoverStartDating()

Override to alter the text/graphics when she first meets her older lover


EventRescue

function EventRescue() : Boolean

Override to alter the text/graphics when a delegation arrives to rescue her

return true to totally disable the standard event

Note

if you do nothing but return true the event will never happen, otherwise show text/graphic and call DoEvent/DoYesNoEvent etc


LesbianTrainingAccepted

function LesbianTrainingAccepted()

Called when she agrees to training as a lesbian slave


LesbianTrainingRefused

function LesbianTrainingRefused() : Boolean

Called when she refuses training as a lesbian slave

return true to disable standard messages


ShowNobleLoveAccepted

function ShowNobleLoveAccepted()

Called when you agree to sell her to a nobleman


ShowNobleLoveRefused

function ShowNobleLoveRefused()

Called when you refuse to sell her to a nobleman
ShowGigaBE

function ShowGigaBE() : Boolean

Showed when your slave has an extreme breast expansion event. Show her with huge breasts


See Slave Girl - Catgirls.rtf for details on these

ShowCatgirlRumour

function ShowCatgirlRumour()

StartCatgirlTraining

function StartCatgirlTraining() : Boolean

FinishedCatgirlTraining

function FinishedCatgirlTraining() : Boolean

EndingCatgirl

function EndingCatgirl()

ShowRefuseCatgirl

function ShowRefuseCatgirl(type:Number)

See Slave Girl - Faeries for details

ShowFaerieTransformation

function ShowFaerieTransformation() : Boolean

Show an image/text when the faerie transformation completes


<<first <prev SDK/Slave Girl - Events - Common next> last>>