source: trunk/game/maps/all_agents.yaml @ 568

Revision 568, 5.0 KB checked in by beliar, 9 years ago (diff)

Patch by Beliar.

  • The Basic Action now has a commands property. The execute method of the class now loops through this dictionary, parses the values and executes special commands based on these values.
  • Implemented "SetQuestVariable?" command in the Action class. This sets a variable of a quest.
  • Added action property to Usable
  • Added ReadAction? class. For now this prints a name and a text to the console.
  • When right clicking on an item in a container or the pc's inventory the item will be checked for available actions and create a menu from these.
  • Implemented "Read" action to container/inventory items
  • Moved Pamphlet from pc inventory to "DirtyOldCrate?"
  • Added "Grain" object to ObjectDatabase?
  • Gave "Grain" object with ID "bushel_of_grain" to "Farmer Manslow" NPC
  • With these changes it is now possible to advance a bit into the Beer-Quest without using the console. It is still not finishable though.
Line 
1#   This file is part of PARPG.
2
3#   PARPG is free software: you can redistribute it and/or modify
4#   it under the terms of the GNU General Public License as published by
5#   the Free Software Foundation, either version 3 of the License, or
6#   (at your option) any later version.
7
8#   PARPG is distributed in the hope that it will be useful,
9#   but WITHOUT ANY WARRANTY; without even the implied warranty of
10#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11#   GNU General Public License for more details.
12
13#   You should have received a copy of the GNU General Public License
14#   along with PARPG.  If not, see <http://www.gnu.org/licenses/>.
15---           
16PlayerCharacter:
17    ViewName: "Player Character"
18    RealName: "Player Character"
19    ObjectType: "PlayerCharacter"
20    ObjectModel: "player"
21    Map: "Mall"
22    Position: [2.0, -8.0, 0.0]
23    Rotation: 0
24    Inventory:
25        - {ID: "Dagger", object_type: "Dagger", slot: "right_hand"}
26        - {ID: "Beer", object_type: "Beer"}
27---           
28Janie:
29    ViewName: "Janie"
30    RealName: "Janie"
31    ObjectType: "NonPlayerCharacter"
32    ObjectModel: "long_coat_female"
33    Text: "A woman wearing a large coat, and a big gun."
34    Map: "Mall"
35    Position: [-5.0, -3.0, 0.0]
36    Rotation: 0
37---
38Bart The Drunkard:
39    ViewName: "Bart"
40    RealName: "Bart"
41    ObjectType: "NonPlayerCharacter"
42    ObjectModel: "long_coat_male"
43    Text: "A very drunk looking man."
44    Map: "Mall"
45    Position: [-5.0, -4.0, 0.0]
46    Rotation: 0
47---
48Skwisgaar the Crazy Swede:
49    ViewName: "Skwisgaar"
50    RealName: "Skwisgaar"
51    ObjectType: "NonPlayerCharacter"
52    ObjectModel: "male_traveler_1"
53    Text: "A wild-eyed man with an axe."
54    Map: "Mall"
55    Position: [-5.0, -6.0, 0.0]
56    Rotation: 0
57---
58Matti:
59    ViewName: "Matti"
60    RealName: "Matti"
61    ObjectType: "NonPlayerCharacter"
62    ObjectModel: "male_traveler_1"
63    Text: "A man shoveling snow into a hole."
64    Map: "Mall"
65    Position: [-8.0, -6.0, 0.0]
66    Rotation: 0
67---
68Dig:
69    ViewName: "Dig"
70    RealName: "Dig"
71    ObjectType: "NonPlayerCharacter"
72    ObjectModel: "male_traveler_1"
73    Text: "A tough looking dude."
74    Map: "Mall"
75    Position: [2.0, -6.0, 0.0]
76    Rotation: 0
77---
78Jacob:
79    ViewName: "Jacob"
80    RealName: "Jacob"
81    ObjectType: "NonPlayerCharacter"
82    ObjectModel: "long_coat_male"
83    Text: "A lean man with a sharp face and an appraising gaze."
84    Map: "Mall"
85    Position: [3.0, -6.0, 0.0]
86    Rotation: 0
87---
88Kimmo Niitty:
89    ViewName: "Kimmo"
90    RealName: "Kimmo"
91    ObjectType: "NonPlayerCharacter"
92    ObjectModel: "male_traveler_1"
93    Text: "An older man who exudes confidence and ability."
94    Map: "Mall"
95    Position: [4.0, -6.0, 0.0]
96    Rotation: 0
97---
98Helja:
99    ViewName: "Helja"
100    RealName: "Helja"
101    ObjectType: "NonPlayerCharacter"
102    ObjectModel: "npc_woman"
103    Text: "A business-like woman, short and stout."
104    Map: "Mall"
105    Position: [5.0, -7.0, 0.0]
106    Rotation: 0
107---
108Ma Niitty:
109    ViewName: "Aino"
110    RealName: "Aino"
111    ObjectType: "NonPlayerCharacter"
112    ObjectModel: "npc_woman"
113    Text: "An ancient crone with a tight lipped smile.  She has an unlit cigarette dangling from her lips."
114    Map: "Mall"
115    Position: [-6.0, -7.0, 0.0]
116    Rotation: 0
117---
118Kandi:
119    ViewName: "Kandi"
120    RealName: "Kandi"
121    ObjectType: "NonPlayerCharacter"
122    ObjectModel: "npc_woman"
123    Text: "A dark haired, scantily clad woman giving you the once over."
124    Map: "Mall"
125    Position: [-7.0, -7.0, 0.0]
126    Rotation: 0
127---
128Cali:
129    ViewName: "Cali"
130    RealName: "Cali"
131    ObjectType: "NonPlayerCharacter"
132    ObjectModel: "npc_woman"
133    Text: "A scantily clad blond, checking you out."
134    Map: "Mall"
135    Position: [-8.0, -7.0, 0.0]
136    Rotation: 0
137---
138Camilla Niitty:
139    ViewName: "Camilla"
140    RealName: "Camilla Niitty"
141    ObjectType: "NonPlayerCharacter"
142    ObjectModel: "long_coat_female"
143    Text: "A hard-faced pretty young woman. She seems to be scowling."
144    Map: "Mall"
145    Position: [-5.0, -7.0, 0.0]
146    Rotation: 0
147---
148Synnove Niitty:
149    ViewName: "Synnove"
150    RealName: "Synnove"
151    ObjectType: "NonPlayerCharacter"
152    ObjectModel: "long_coat_female"
153    Text: "A plain looking girl with a faraway look in her eye."
154    Map: "Mall"
155    Position: [-5.0, -9.0, 0.0]
156    Rotation: 0
157---
158Farmer Manslow:
159    ViewName: "Manslow"
160    RealName: "Manslow"
161    ObjectType: "NonPlayerCharacter"
162    ObjectModel: "male_farmer_1"
163    Text: "A grimy looking farmer."
164    Map: "Farm"
165    Position: [-3.0, -3.0, 0.0]
166    Rotation: 0
167    Inventory:
168        - {ID: bushel_of_grain, object_type: Grain}
169---           
170Sami:
171    ViewName: "Sami"
172    RealName: "Sami"
173    ObjectType: "NonPlayerCharacter"
174    ObjectModel: "long_coat_male"
175    Text: "An earstwhile boy, working hard."
176    Map: "Farm"
177    Position: [3.0, 4.0, 0.0]
178    Rotation: 0
179---           
180Rasmus:
181    ViewName: "Rasmus"
182    RealName: "Rasmus"
183    ObjectType: "NonPlayerCharacter"
184    ObjectModel: "long_coat_male"
185    Text: "A grimy looking farmer."
186    Map: "Farm"
187    Position: [4.0, 3.0, 0.0]
188    Rotation: 0
Note: See TracBrowser for help on using the repository browser.