Skip to content

Commit

Permalink
added Deepens forest
Browse files Browse the repository at this point in the history
  • Loading branch information
lxgr-linux committed Jun 8, 2021
1 parent 7690d55 commit 829cc5b
Show file tree
Hide file tree
Showing 4 changed files with 197 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pokete.py
Original file line number Diff line number Diff line change
Expand Up @@ -1445,6 +1445,9 @@ def recogniser():
trainers = [Trainer("Brother Justin", "He", Poke("blub", 600, player=False), [" < Hey, my brother and me want to fight!"], [" < Haha, you're bad!"], [" < I see you don't have a living Pokete"], [" < Damn!"], 26, 10),
Trainer("Brother Justus", "He", Poke("poundi", 600, player=False), [" < Now it's my turn!"], [" < Haha, you're bad!"], [" < I see you don't have a living Pokete"], [" < Damn!"], 27, 10)],
poke_args = {"pokes": ["voglo", "vogli", "owol", "rato"], "minlvl": 300, "maxlvl": 480})
playmap_13 = PlayMap(background=" ", height=35, width=70, name="playmap_13", pretty_name="Deepens forest",
trainers = [Trainer("Citizen", "He", Poke("vogli", 600, player=False), [" < Hello fellow stranger!", " < This town is known for it's bird Poketes"], [" < Haha, you're bad!"], [" < I see you don't have a living Pokete"], [" < Damn!"], 5, 31),],
poke_args = {"pokes": ["voglo", "vogli", "owol", "rato"], "minlvl": 300, "maxlvl": 480})

# mapmap
mapbox = Box(11, 40, "Roadmap")
Expand All @@ -1459,7 +1462,8 @@ def recogniser():
mapbox.g = Station(playmap_7, 1, 1, d_next="mapbox.f")
mapbox.h = Station(playmap_8, 2, 1, a_next="mapbox.f", s_next="mapbox.i", d_next="mapbox.j")
mapbox.i = Station(playmap_11, 1, 1, w_next="mapbox.h")
mapbox.j = Station(playmap_12, 2, 1, a_next="mapbox.h")
mapbox.j = Station(playmap_12, 2, 1, a_next="mapbox.h", w_next="mapbox.k")
mapbox.k = Station(playmap_13, 1, 2, s_next="mapbox.j")
mapbox.add_ob(mapbox.a, 5, 7)
mapbox.add_ob(mapbox.b, 6, 5)
mapbox.add_ob(mapbox.c, 7, 5)
Expand All @@ -1470,6 +1474,7 @@ def recogniser():
mapbox.add_ob(mapbox.h, 11, 7)
mapbox.add_ob(mapbox.i, 11, 8)
mapbox.add_ob(mapbox.j, 13, 7)
mapbox.add_ob(mapbox.k, 14, 5)

# movemap
movemap = se.Submap(playmap_1, 0, 0, height=height-1, width=width)
Expand Down Expand Up @@ -1627,6 +1632,13 @@ def recogniser():
# adding
playmap_11.lake_1.add(playmap_11, 0, 12)

# playmap_13
playmap_13.dor = Dor("#", state="float", arg_proto={"map": centermap, "x": int(centermap.width/2), "y": 7})
playmap_13.shopdor = Dor("#", state="float", arg_proto={"map": shopmap, "x": int(shopmap.width/2), "y": 7})
# adding
playmap_13.dor.add(playmap_13, 14, 29)
playmap_13.shopdor.add(playmap_13, 52, 29)



# adding all trainer to map
Expand Down
Binary file modified pokete_data/__pycache__/maps.cpython-39.pyc
Binary file not shown.
168 changes: 168 additions & 0 deletions pokete_data/maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,21 @@
"y": 7,
"args": '{"map": playmap_8, "x": 78, "y": 10}'
},
"dor_playmap_13_1": {
"x": 70,
"y": 0,
"args": '{"map": playmap_13, "x": 34, "y": 33}'
},
"dor_playmap_13_2": {
"x": 71,
"y": 0,
"args": '{"map": playmap_13, "x": 35, "y": 33}'
},
"dor_playmap_13_3": {
"x": 72,
"y": 0,
"args": '{"map": playmap_13, "x": 36, "y": 33}'
},
},
"balls": {
"ball_1": {
Expand All @@ -1185,6 +1200,159 @@
},
},
},
"playmap_13": {
"hard_obs": {
"tree_group_1": {
"x": 0,
"y": 0,
"txt":"""()()()()()))((()))(())( __________________ ((((()))()()()((()()(()))
(())()())()((()()))()())/ /\())()())))()()()))()(((()(
)()( || |||| || | |||| /_________________/ \||| || |||| ||| | |||()((
)()( | # ____ # | | )(()
()() |_______| |______|__| ()((
)()( ((((
)(() (()(
())( ()()())) )()(
()() ())()))))) ()()
)()( ()())()))) ))))
)()( ||| |||| () (())
)()( ()))(()(
()() ()))())(
))(( (()()))) || ()))
())) ()()))())) ()))
()() (())()(()) ()()
)()( ()())()))) ))()
)()) ())()()) )(((
())) || ||| (())
))() ())(
((() ))((
(()) )()(
)()( ()())))() )())((()))) ()()
()() ()()))()))) ())()()))))() (())
())) || |||| | ||| |||| || ()()
(()( ()()
)(() (())
)()) ((()
())( ()))
())( ()()
)()( ((()
))(( )(((
()()) ())))
(()))((((()()()()()(((()()))(())) (())(((()(((()((()())(((()()())(
()()))((()()()))()(()(((()()(((()) (()())((()()()()()()))()))((())()
"""
},
"house": {
"x": 9,
"y": 25,
"txt": """ __________
/ /\\
/_________/ \\
| # ___ # | |
|___| |___|__|"""
},
"shop": {
"x": 47,
"y": 25,
"txt": """ __________
/ /\\
/__shop!__/ \\
| # ___ # | |
|___| |___|__|"""
},
"house1": {
"x": 47,
"y": 4,
"txt": """ ________
/ /\\
/_______/ \\
|# ___ #| |
|__| |__|__|"""},
"house2": {
"x": 47,
"y": 10,
"txt": """ ________
/ /\\
/_______/ \\
|# ___ #| |
|__| |__|__|"""},
"house3": {
"x": 47,
"y": 16,
"txt": """ ________
/ /\\
/_______/ \\
|# ___ #| |
|__| |__|__|"""},
"house4": {
"x": 10,
"y": 4,
"txt": """ ________
/ /\\
/_______/ \\
|# ___ #| |
|__| |__|__|"""},
"house5": {
"x": 10,
"y": 10,
"txt": """ ________
/ /\\
/_______/ \\
|# ___ #| |
|__| |__|__|"""},
"house6": {
"x": 10,
"y": 16,
"txt": """ ________
/ /\\
/_______/ \\
|# ___ #| |
|__| |__|__|"""},
},
"soft_obs": {
"meadow_1": {
"x": 29,
"y": 22,
"txt": """ ;;;;;
;;;;;;;;;;
;;;;;;;;;;;;
;;;;;;;;;;;
;;;;;;;;;
;;;;;"""
},
},
"dors": {
"dor_playmap_12_1": {
"x": 34,
"y": 34,
"args": '{"map": playmap_12, "x": 70, "y": 1}'
},
"dor_playmap_12_2": {
"x": 35,
"y": 34,
"args": '{"map": playmap_12, "x": 71, "y": 1}'
},
"dor_playmap_12_3": {
"x": 36,
"y": 34,
"args": '{"map": playmap_12, "x": 72, "y": 1}'
},
},
"balls": {
"ball_1": {
"x": 14,
"y": 14
},
"ball_2": {
"x": 65,
"y": 13
},
"ball_3": {
"x": 64,
"y": 32
},
}
},
}

if __name__ == "__main__":
Expand Down
16 changes: 16 additions & 0 deletions pokete_data/npcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,22 @@
"x": 52,
"y": 1
},
"npc_1": {
"texts": [" < To get to the other side of this building, you have to win some epic fights against Deepens forests' best trainers!", " < This won't be easy!"],
"fn": None,
"args": (),
"map": "playmap_13",
"x": 33,
"y": 6
},
"npc_2": {
"texts": [" < Welcome to Deepens forest", " < To get through this town you have to win against the best trainers of Deepens forest!", " < I wish you a great time in Deepens forest!"],
"fn": None,
"args": (),
"map": "playmap_13",
"x": 38,
"y": 31
},
}


Expand Down

0 comments on commit 829cc5b

Please sign in to comment.