-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Officer Cackowski, computer wing quest and correctly animated door
Key for the hidden door still doesn’t work Open the borchert pool when the quest is complete
- Loading branch information
1 parent
6bb3bbc
commit f8b6215
Showing
18 changed files
with
206 additions
and
24 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return{ | ||
name = "flashlight", | ||
description = "Flashlight", | ||
type = "key", | ||
info = "a flashlight", | ||
MAX_ITEMS = 1, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return{ | ||
name = "rope", | ||
description = "Rope", | ||
type = "key", | ||
info = "a coil of rope", | ||
MAX_ITEMS = 1, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="10" height="14" tilewidth="24" tileheight="24"> | ||
<properties> | ||
<property name="soundtrack" value="greendale-alt"/> | ||
</properties> | ||
<tileset firstgid="1" name="bathroom" tilewidth="24" tileheight="24"> | ||
<image source="../images/tilesets/bathroom.png" width="240" height="240"/> | ||
</tileset> | ||
<tileset firstgid="101" name="collisions" tilewidth="24" tileheight="24"> | ||
<image source="../images/tilesets/collisions.png" width="632" height="512"/> | ||
</tileset> | ||
<layer name="Background" width="10" height="14"> | ||
<data encoding="base64" compression="zlib"> | ||
eJxjZGA4wEgEZmJgYCAGs43iQYWZicSMRGIApzIKHw== | ||
</data> | ||
</layer> | ||
<layer name="Wall Features 1" width="10" height="14"> | ||
<data encoding="base64" compression="zlib"> | ||
eJxjYKAuUGRgcFAigEFqxIkwSxyKR9VhqgOGYQMwLBnwYZAaIowjCQAAXz8HlQ== | ||
</data> | ||
</layer> | ||
<layer name="Wall Features 2" width="10" height="14"> | ||
<data encoding="base64" compression="zlib"> | ||
eJxjYKAv4GNgaMAnz8PAkMANpGGYnkCCTvYoI7H5scgLQ2kuIFaBstWBWBRNnSyU5kQSk6LYdfgBAHuCAiM= | ||
</data> | ||
</layer> | ||
<layer name="fade" width="10" height="14"> | ||
<data encoding="base64" compression="zlib"> | ||
eJzTYGBg0BjFo5hIDAAcWBXh | ||
</data> | ||
</layer> | ||
<layer name="collision" width="10" height="14"> | ||
<data encoding="base64" compression="zlib"> | ||
eJxLZWBgSCUCjwL6gXoS1U/BI1dFJCYWAAAQbgnK | ||
</data> | ||
</layer> | ||
<objectgroup name="nodes"> | ||
<object name="main" type="door" x="144" y="240" width="24" height="60"> | ||
<properties> | ||
<property name="level" value="greendale-lounge"/> | ||
<property name="to" value="bathroom"/> | ||
</properties> | ||
</object> | ||
<object name="rope" type="spawn" x="48" y="264" width="24" height="24"> | ||
<properties> | ||
<property name="nodeType" value="key"/> | ||
<property name="sound" value="false"/> | ||
<property name="spawnType" value="keypress"/> | ||
<property name="sprite" value="wastebin"/> | ||
</properties> | ||
</object> | ||
<object type="info" x="168" y="240" width="24" height="24"> | ||
<properties> | ||
<property name="info" value="The lightswitch is broken! Good thing you have that flashlight!"/> | ||
</properties> | ||
</object> | ||
</objectgroup> | ||
</map> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
-- inculdes | ||
local Dialog = require 'dialog' | ||
local prompt = require 'prompt' | ||
|
||
|
||
return { | ||
width = 48, | ||
height = 48, | ||
animations = { | ||
default = { | ||
'loop',{'1,1'},.5, | ||
}, | ||
walking = { | ||
'loop',{'2,1','3,1','4,1','5,1'},.2, | ||
}, | ||
}, | ||
greeting = "I'm {{red}}Officer Cackowski{{white}}. There were reports of a disturbance, something about a bandit, and I'm patrolling the area.", | ||
|
||
walking = true, | ||
max_walk = 240, | ||
min_walk = 240, | ||
|
||
stare = false, | ||
|
||
talk_items = { | ||
{ ['text']='i am done with you' }, | ||
{ ['text']='Nice flashlight!' }, | ||
{ ['text']='Tell me something.' }, | ||
{ ['text']='You look farmiliar...' }, | ||
}, | ||
|
||
talk_commands = { | ||
['Nice flashlight!'] = function (npc, player) | ||
Dialog.new("I had this sucker custom made. I actually have an extra if you'd like one." , function() | ||
|
||
npc.prompt = prompt.new("Do you want Officer Cackowski's extra flashlight?", function(result) | ||
if result == 'Yes' then | ||
local Item = require 'items/item' | ||
local itemNode = require ('items/keys/flashlight') | ||
local item = Item.new(itemNode, 1) | ||
player.inventory:addItem(item, true) | ||
Dialog.currentDialog = nil | ||
npc.menu:close(player) | ||
npc.walking = true | ||
npc.prompt = nil | ||
end | ||
if result == 'No' then | ||
Dialog.new("Fair enough.", function() | ||
Dialog.currentDialog = nil | ||
npc.menu:close(player) | ||
npc.walking = true | ||
npc.prompt = nil | ||
end) | ||
end | ||
npc.fixed = result == 'Yes' | ||
end) | ||
end) | ||
end, | ||
}, | ||
|
||
talk_responses ={ | ||
['You look farmiliar...']={ | ||
"You might be thinking of my sister {{red}}Liz Cackowski{{white}}, the Greendale guidance counselor.", | ||
}, | ||
['Tell me something.']={ | ||
"Fact: in 100% of all fake gun shootings, the victim is always the one with the fake gun.", | ||
}, | ||
}, | ||
} |