-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHowToSetupPS.html
More file actions
executable file
·392 lines (368 loc) · 19.9 KB
/
HowToSetupPS.html
File metadata and controls
executable file
·392 lines (368 loc) · 19.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>How to setup PS stuff :v</title>
<link rel="stylesheet" type="text/css" href="vendors/bootstrap/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="vendors/bootstrap/bootstrap-theme.css">
<script type="text/javascript" src="vendors/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="vendors/bootstrap/bootstrap.min.js"></script>
<style>
img {
max-width:100%;
max-height:100%;
}
</style>
</head>
<body class="body">
<div class="wrapper">
<div class="container inner">
<div class='row'>
<nav class="col-sm-2">
<ul class="nav nav-pills nav-stacked affix-top" data-spy="affix">
<li><a href="#tldr">Brief Summary</a></li>
<li><a href="#creatingLocations">Creating Locations</a></li>
<li><a href="#creatingCells">Creating Cells</a></li>
<li><a href="#creatingRooms">Creating Rooms</a></li>
<li><a href="#creatingCharacters">Creating Characters</a></li>
<li><a href="#creatingFurniture">Creating Furniture</a></li>
<li><a href="#assigningRooms">Assigning Rooms</a></li>
<li><a href="#assigningCharacters">Assigning Characters</a></li>
<li><a href="#assigningFurniture">Assigning Furniture</a></li>
<li><a href="#interactRooms">Interacting with Rooms</a></li>
<li><a href="#interactCharacters">Interacting with Characters</a></li>
<li><a href="#interactCharactersRooms">Interacting with Characters in Rooms</a></li>
<li><a href="#assigningPlayer">Assigning the Player</a></li>
<li><a href="#grammaticalFunctions">Grammatical Functions</a></li>
</ul>
</nav>
<div class='col-sm-10'>
<div id="tldr" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Brief Summary</h3>
</div>
<div class="panel-body">
<p>Location(s) may contain Cell(s) and-or Room(s).</p>
<p>Cell(s) will always contain Room(s), and will always belong to a Location.</p>
<p>Room(s) will always belong to a Cell, and may have their own Location, but they will always have the Location of their Cell.</p>
<p>Room(s) may contain Character(s) and-or Furniture.</p>
<p>Character(s) and Furniture may contain Item(s).</p>
<p>Character(s) may wear Clothing, which are extended Item(s), and will contain the Clothing when worn.</p>
<p>Location(s), Cell(s), Room(s), Character(s), Item(s), and Furniture are all instances of Entity.</p>
<p>An Entity has an ID (its variable name,) a Name (a readable name that may be displayed,) a Description (a readable, descriptive sentence that may be displayed,) and Owner (Yes, a Character can be owned by another Character, but there's no functionality for that.)</p>
</div>
</div>
<div id="creatingLocations" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Creating Locations</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/initialize/Locations.js]
eg: variableNameLocation = new Location("variableNameLocation", "Displayed Name");
eg: variableNameOtherLocation = new Location("variableNameOtherLocation", "Displayed Name");
bunnyburrowLocation = new Location("bunnyburrowLocation", "Bunnyburrow");
hoppsHouseholdLocation = new Location("hoppsHouseholdLocation", "Hopps' Household");
</pre>
</div>
</div>
<div id="creatingCells" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Creating Cells</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/initialize/Cells.js]
eg: variableNameCell = new Cell("variableNameCell", "Display Name", variableNameLocation);
bunnyburrowCell = new Cell("bunnyburrowCell", Bunnyburrow", bunnyburrowLocation);
hoppsHouseholdFirstFloorCell = new Cell("hoppsHouseholdFirstFloorCell", "First Floor", hoppsHouseholdLocation);
hoppsHouseholdSecondFloorCell = new Cell("hoppsHouseholdSecondFloorCell", "Second Floor", hoppsHouseholdLocation);
</pre>
</div>
</div>
<div id="creatingRooms" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Creating Rooms</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/initialize/Rooms.js]
eg: variableNameRoom01 = new Room("variableNameRoom01", "variableNameRoom", "Display Name", "roomType", variableNameCell);
eg: variableNameRoom02 = new Room("variableNameRoom02", "variableNameRoom", "Display Name", "roomType", variableNameCell);
eg: variableNameOtherRoom01 = new Room("variableNameOtherRoom01", undefined, "Display Name", "roomType", variableNameCell, variableNameOtherLocation);
hoppsHouseholdHallwayA = new Room("hoppsHouseholdHallwayA", "hoppsHouseholdHallway", "Hallway", "hallway", hoppsHouseholdFirstFloorCell);
hoppsHouseholdHallwayB = new Room("hoppsHouseholdHallwayB", "hoppsHouseholdHallway", "Hallway", "hallway", hoppsHouseholdFirstFloorCell);
hoppsHouseholdHallwayC = new Room("hoppsHouseholdHallwayC", "hoppsHouseholdHallway", "Hallway", "hallway", hoppsHouseholdFirstFloorCell);
hoppsHouseholdHallwayD = new Room("hoppsHouseholdHallwayD", "hoppsHouseholdHallway", "Hallway", "hallway", hoppsHouseholdFirstFloorCell);
judyRoom = new Room("judyRoom", undefined, "Judy's Room", "bedroom", hoppsHouseholdFirstFloorCell);
violetRoom = new Room("violetRoom", undefined, "Violet's Bedroom", "bedroom", hoppsHousehold, "bedroom", hoppsHouseholdFirstFloorCell);
hoppsHouseholdGuestRoom = new Room("hoppsHouseholdGuestRoom", undefined, "Guest Room", "bedroom", hoppsHousehold, hoppsHouseholdFirstFloorCell);
</pre>
</div>
</div>
<div id="creatingCharacters" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Creating Characters</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/initialize/Characters.js]
eg: variableNameCharacter = new Character("variableNameCharacter", "Display Name", age, sex, "speciesType");
judy = new Character("judy", "Judy Hopps", 24, "f", "rabbit");
violet = new Character("violet", "Violet Hopps", 28, "f", "rabbit");
nick = new Character("nick", "Nick Wilde", 32, "m", "fox");
</pre>
</div>
</div>
<div id="creatingFurniture" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Creating Furniture</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/initialize/Furniture.js]
eg: variableNameFurniture = new Furniture("variableNameFurniture", "Display Name", "Description", "furnitureType", 4 (space for characters), 2 (space for items));
guestBed = new Furniture("guestBed", "Small Bed", "A small bed, barely large enough for a fox.", "bed", 2, 1]);
</pre>
</div>
</div>
<div id="creatingItems" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Creating Items</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/initialize/Items.js]
// Items
eg: variableNameItem = new Item("variableNameItem", "Display Name", "Description", "path/to/picture.ext");
playBuck942 = new Item("playBuck942", "Playbuck Magazine issue 942", "resources/images/items/playBuck942.svg");
doesGoneWildeDownAtTheFarmVHS = new Item("doesGoneWildeDownAtTheFarmVHS", "Does Gone Wilde, Country Style - Four hours of country does showing a city fox what life on the farm is really like.");
sluttyPictureOfViolet = new Item("sluttyPictureOfViolet", "Lewd picture of Violet", "A picture of Violet Hopps in lingerie, laying on a small bed, spreading her legs for the camera.");
sluttyPictureOfJudy = new Item("sluttyPictureOfJudy", "Lewd picture of Judy", "A picture of Judy Hopps wearing a form-fitting fox costume, with the crotch exposed.");
// Clothing
eg: variableNameClothing = new Clothing("variableNameClothing", "Display Name", "Description", "bodyPartType", "path/to/picture.ext");
clothingPoliceVest = new Clothing("clothingPoliceVest", "ZPD-issued Vest", "A black, lightly-plated police vest.", "torso");
clothingPolicePants = new Clothing("clothingPolicePants", "ZPD-issued Pants", "A pair of blue, body-hugging dress pants.", "legs");
clothingFoxPanties = new Clothing("clothingFoxPanties", "Panties", "Orange panties with the picture of a winking fox on the front.", "groin");
clothingBlackTurtleneck = new Clothing("clothingBlackTurtleneck", "Turtleneck Shirt", "A black turtleneck shirt.", "torso");
clothingGreenSkirt = new Clothing("clothingGreenSkirt", "Skirt", "A modest green skirt.", "legs");
// Keys
// For a key to work, it has to have the variable name of the Location, Cell, or Room it is to be used with, suffixed by 'Key'
eg: variableNameLocationKey = new Key("variableNameLocationKey", "Display Name", "Description", "path/to/picture.ext");
eg: variableNameCellKey = new Key("variableNameCellKey", "Display Name", "Description", "path/to/picture.ext");
eg: variableNameRoomKey = new Key("variableNameRoomKey", "Display Name", "Description", "path/to/picture.ext");
hoppsHouseholdGuestRoomKey = new Key("hoppsHouseholdGuestRoomKey", "Guest Room Key", "resources/images/items/guestRoomKey.svg");
hoppsHouseholdLocationKey = new Key("hoppsHouseholdLocationKey", "Hopps' Household Skeleton Key", "resources/images/items/hoppsHouseholdLocationKey.svg");
hoppsHouseholdFakeGuestRoomKey = new Key("hoppsHouseholdFakeGuestRoomKey", "Guest Room Key", "resources/images/items/guestRoomKey.svg");
</pre>
</div>
</div>
<div id="assigningRooms" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Assigning Rooms</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/assign/Rooms.js]
hoppsHouseholdHallwayA.setNorthRoom(hoppsHouseholdHallwayB);
hoppsHouseholdHallwayA.setEastRoom(judyRoom);
hoppsHouseholdHallwayB.setNorthRoom(hoppsHouseholdHallwayC);
hoppsHouseholdHallwayB.setEastRoom(hoppsHouseholdGuestRoom);
hoppsHouseholdHallwayC.setEastRoom(violetRoom);
hoppsHouseholdGuestRoom.addFurniture(guestBed);
</pre>
</div>
</div>
<div id="assigningCharacters" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Assigning Characters</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/assign/Characters.js]
judy.setEyeColour("violet"); // Assigns Judy's eye colour
judy.setFurColour("gray", white); // Assigns Judy's primary and secondary fur colours
judy.image = "resources/images/characters/judy.svg"; // Assigns Judy's Minimap and Avatar icons
judy.addSexWith(nick); // Pops both their cherries, and lists each other as having had sex with the other
judy.wear(clothingPoliceVest);
judy.wear(clothingPolicePants);
judy.wear(clothingFoxPanties);
violet.wear(clothingBlackTurtleneck);
violet.wear(clothingGreenSkirt);
nick.addItem(hoppsHouseholdGuestRoomKey);
nick.addItem(sluttyPictureOfJudy);
violet.addItem(hoppsHouseholdLocationKey);
judy.addItem(hoppsHouseholdFakeGuestRoomKey);
judy.moveToRoom(judyRoom);
violet.moveTo(violetRoom);
nick.moveTo(hoppsHouseholdGuestRoom);
nick.sleep(guestBed);
</pre>
</div>
</div>
<div id="assigningFurniture" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Assigning Furniture</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/assign/Furniture.js]
guestBed.addItem(playBuck942);
guestBed.addItem(doesGoneWildeDownAtTheFarmVHS);
guestBed.addItem(sluttyPictureOfViolet);
</pre>
</div>
</div>
<div id="interactRooms" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Interacting with Rooms</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/interact/Rooms.js]
eg: ...
function variableNameRoom01Interact(_showContent = true) {
if (_showContent) {
Content.add("<p>This section is displayed when first Moving into the room.</p>");
}
if (!Menu.showingBaseMenu) {
Content.add("<p>While this section is displayed when Exploring the room.</p>");
}
}
function hoppsHouseholdHallwayInteract(_showBaseMenu = false, _clearContent = true) {
if (_clearContent) {
Content.clear();
Content.add("<p>You're standing in the hallway of the Hopps family.</p>");
}
}
function judyRoomInteract(_showBaseMenu = false, _clearContent = true) {
if (_clearContent) {
Content.clear();
Content.add("<p>Judy's bedroom, filled with fox dildos and " + (player == nick ? "your" : "Nick's + " shirts.</p>");
}
}
function violetRoomInteract(_showBaseMenu = false, _clearContent = true) {
if (_clearContent) {
Content.clear();
Content.add("<p>Violet's bedroom, filled with pictures of Judy and " + (player == nick ? "you" : "Nick") + ".</p>");
}
}
function hoppsHouseholdGuestRoomInteract(_showBaseMenu = false, _clearContent = true) {
if (_clearContent) {
Content.clear();
Content.add("<p>A small guest room with two tiny, almost impercetible, holes drilled into the walls adjacent to the door.</p>");
}
}
</pre>
</div>
</div>
<div id="interactCharacters" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Interacting with Characters</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/interact/Character.js]
function judyTalk() {
_character = judy;
fn = new Function(player.location.sid + _character.name + "Talk()");
try {fn();}catch (err) {}
Menu.generate();
}
function judySex() {
_character = judy;
fn = new Function(player.location.sid + _character.name + "Sex()");
try {fn();}catch (err) {}
Menu.generate();
}
function judyFollow() {
_character = judy;
fn = new Function(player.location.sid + _character.name + "Follow()");
try {fn();}catch (err) {}
Menu.generate();
}
</pre>
</div>
</div>
<div id="interactCharactersRooms" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Interacting with Characters in Rooms</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/interact/RoomsCharacters.js]
// location + character name + action [ + optional action ]
function judyRoomJudyTalk() {
}
function judyRoomJudySex() {
Content.add("Hey Judy, let's fuck!");
if (player.location.containsCharacter(violet) && player.location.containsCharacter(judy) && player == nick)
Menu.addOption("judyRoomJudyVioletNickThreeway", "Convince Judy and Violet to have a threeway.");
else
Content.add("Not without my big sister, " + player.name + "!");
}
function judyRoomVioletSex() {
if (player.location.containsCharacter(violet) && player.location.containsCharacter(judy) && player == nick)
Menu.addOption("judyRoomJudyVioletNickThreeway", "Convince Judy and Violet to have a threeway.");
else
Content.add("Not without my younger sister, " + player.name + "!");
}
function judyRoomJudyVioletNickThreeway() {
Content.add("<p>They both grin as they grab both of your arms. " + (!player.wearingShirt && !player.wearingPants && !player.wearingUnderwear ? " You're already naked, so they get to work." : " They tear your clothes off and get to work.") + "</p>");
}
</pre>
</div>
</div>
<div id="assigningPlayer" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Assigning the Player to a Character</h3>
</div>
<div class="panel-body">
<pre>
//[resources/data/Start.js]
...
player = nick;
...
</pre>
</p>
</div>
</div>
<div id="grammaticalFunctions" class="panel panel-default autocollapse">
<div class="panel-heading clickable">
<h3 class="panel-title text-center">Grammatical Functions</h3>
</div>
<div class="panel-body">
<pre>
nick.subjectPronoun()
// would return "he"
nick.objectPronoun()
// would return "him"
nick.possessivePronoun()
// would return "his"
nick.possessiveAdjective()
// would return "his"
nick.reflexivePronoun()
// would return "himself"
nick.name
// would return "Nick"
nick.singularPossesiveName()
// would return "Nick's"
nick.grammaticalGender()
// would return "male"
nick.getHand()
// would return "paw"
nick.getHands()
// would return "paws"
nick.getStance()
// would return "lay"
nick.getStancePresentTense()
// would return "laying"
</pre>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>