-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba22083
commit 143d076
Showing
10 changed files
with
299 additions
and
19 deletions.
There are no files selected for viewing
Binary file not shown.
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,64 @@ | ||
import my | ||
import tp | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.collision_hit_priority(self, 5) | ||
my.environ_dislikes_fire(self, 10) | ||
my.gfx_ascii_shown(self, True) | ||
my.gfx_pixelart_reflection(self, True) | ||
my.gfx_pixelart_shadow(self, True) | ||
my.gfx_pixelart_shadow_short(self, True) | ||
my.gfx_pixelart_show_highlighted(self, True) | ||
my.gfx_pixelart_show_outlined(self, True) | ||
my.gfx_pixelart_submergible(self, True) | ||
my.charge_count(self, 2) | ||
my.gold_value_dice(self, "1000") | ||
my.is_able_to_be_teleported(self, True) | ||
my.is_able_to_fall(self, True) | ||
my.is_bag_item(self, True) | ||
my.is_biome_chasms(self, True) | ||
my.is_biome_dungeon(self, True) | ||
my.is_biome_flooded(self, True) | ||
my.is_biome_ice(self, True) | ||
my.is_biome_lava(self, True) | ||
my.is_collectable(self, True) | ||
my.is_described_when_hovering_over(self, True) | ||
my.is_droppable(self, True) | ||
my.is_interesting(self, True) | ||
my.is_item(self, True) | ||
my.is_loggable(self, True) | ||
my.is_moveable(self, True) | ||
my.is_spellbook(self, True) | ||
my.is_throwable(self, True) | ||
my.is_treasure_class_B(self, True) | ||
my.is_treasure(self, True) | ||
my.rarity(self, my.RARITY_UNCOMMON) | ||
my.is_usable(self, True) | ||
my.item_height(self, 4) | ||
my.item_width(self, 4) | ||
my.noise_on_dropping(self, 50) | ||
my.normal_placement_rules(self, True) | ||
my.text_a_or_an(self, "a") | ||
my.text_description_long(self, "Read this spellbook to learn some new spells into your brain matter thing.") | ||
my.text_description_long2(self, "This rare book is bursting with knowledge. Well, two spells. Use them well.") | ||
my.text_description_short(self, "A dusty spellbook.") | ||
my.tick_prio(self, my.MAP_TICK_PRIO_NORMAL) | ||
my.z_depth(self, my.MAP_DEPTH_OBJ) | ||
my.z_prio(self, my.MAP_Z_PRIO_BEHIND) | ||
# end sort marker | ||
|
||
my.tile(self, | ||
ascii_fg_char="diamond_solid", ascii_bg_col_name="", ascii_fg_col_name="yellow", | ||
tile=name, delay_ms=100) | ||
|
||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="spellbook2", text_long_name="spellbook", text_short_name="spellbook") | ||
|
||
|
||
init() |
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,66 @@ | ||
import my | ||
import tp | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.collision_hit_priority(self, 5) | ||
my.environ_dislikes_fire(self, 10) | ||
my.gfx_ascii_shown(self, True) | ||
my.gfx_pixelart_reflection(self, True) | ||
my.gfx_pixelart_shadow(self, True) | ||
my.gfx_pixelart_shadow_short(self, True) | ||
my.gfx_pixelart_show_highlighted(self, True) | ||
my.gfx_pixelart_show_outlined(self, True) | ||
my.gfx_pixelart_submergible(self, True) | ||
my.charge_count(self, 3) | ||
my.gold_value_dice(self, "1500") | ||
my.is_able_to_be_teleported(self, True) | ||
my.is_able_to_fall(self, True) | ||
my.is_bag_item(self, True) | ||
my.is_biome_chasms(self, True) | ||
my.is_biome_dungeon(self, True) | ||
my.is_biome_flooded(self, True) | ||
my.is_biome_ice(self, True) | ||
my.is_biome_lava(self, True) | ||
my.is_collectable(self, True) | ||
my.is_described_when_hovering_over(self, True) | ||
my.is_droppable(self, True) | ||
my.is_interesting(self, True) | ||
my.is_item(self, True) | ||
my.is_loggable(self, True) | ||
my.is_moveable(self, True) | ||
my.is_spellbook(self, True) | ||
my.is_throwable(self, True) | ||
my.is_treasure_class_C(self, True) | ||
my.is_treasure(self, True) | ||
my.rarity(self, my.RARITY_RARE) | ||
my.stat_luck_bonus(self, -2) | ||
my.is_treasure_type(self, True) | ||
my.is_usable(self, True) | ||
my.item_height(self, 4) | ||
my.item_width(self, 4) | ||
my.noise_on_dropping(self, 50) | ||
my.normal_placement_rules(self, True) | ||
my.text_a_or_an(self, "a") | ||
my.text_description_long(self, "Read this spellbook to learn some new spells into your brain matter thing.") | ||
my.text_description_long2(self, "This book is beautifully crafted with gold. The only worrying thing is that the bookmark inside appears to be a tongue...") | ||
my.text_description_short(self, "A dark and dusty spellbook.") | ||
my.tick_prio(self, my.MAP_TICK_PRIO_NORMAL) | ||
my.z_depth(self, my.MAP_DEPTH_OBJ) | ||
my.z_prio(self, my.MAP_Z_PRIO_BEHIND) | ||
# end sort marker | ||
|
||
my.tile(self, | ||
ascii_fg_char="diamond_solid", ascii_bg_col_name="", ascii_fg_col_name="pink", | ||
tile=name, delay_ms=100) | ||
|
||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="spellbook3", text_long_name="spellbook", text_short_name="spellbook") | ||
|
||
|
||
init() |
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,66 @@ | ||
import my | ||
import tp | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.collision_hit_priority(self, 5) | ||
my.environ_dislikes_fire(self, 10) | ||
my.gfx_ascii_shown(self, True) | ||
my.gfx_pixelart_reflection(self, True) | ||
my.gfx_pixelart_shadow(self, True) | ||
my.gfx_pixelart_shadow_short(self, True) | ||
my.gfx_pixelart_show_highlighted(self, True) | ||
my.gfx_pixelart_show_outlined(self, True) | ||
my.gfx_pixelart_submergible(self, True) | ||
my.charge_count(self, 4) | ||
my.gold_value_dice(self, "2000") | ||
my.is_able_to_be_teleported(self, True) | ||
my.is_able_to_fall(self, True) | ||
my.is_bag_item(self, True) | ||
my.is_biome_chasms(self, True) | ||
my.is_biome_dungeon(self, True) | ||
my.is_biome_flooded(self, True) | ||
my.is_biome_ice(self, True) | ||
my.is_biome_lava(self, True) | ||
my.is_collectable(self, True) | ||
my.is_described_when_hovering_over(self, True) | ||
my.is_droppable(self, True) | ||
my.is_interesting(self, True) | ||
my.is_item(self, True) | ||
my.is_loggable(self, True) | ||
my.is_moveable(self, True) | ||
my.is_spellbook(self, True) | ||
my.is_throwable(self, True) | ||
my.is_treasure_class_C(self, True) | ||
my.is_treasure(self, True) | ||
my.is_treasure_type(self, True) | ||
my.is_usable(self, True) | ||
my.stat_luck_bonus(self, -4) | ||
my.item_height(self, 5) | ||
my.item_width(self, 5) | ||
my.noise_on_dropping(self, 80) | ||
my.rarity(self, my.RARITY_VERY_RARE) | ||
my.normal_placement_rules(self, True) | ||
my.text_a_or_an(self, "a") | ||
my.text_description_long(self, "Read this spellbook to learn some new spells into your brain matter thing.") | ||
my.text_description_long2(self, "This book is emblazoned with a skull on its cover and the ink inside is a disconcerting red color. This book is very rare. Use its contents wisely.") | ||
my.text_description_short(self, "A skull emblazoned dusty spellbook.") | ||
my.tick_prio(self, my.MAP_TICK_PRIO_NORMAL) | ||
my.z_depth(self, my.MAP_DEPTH_OBJ) | ||
my.z_prio(self, my.MAP_Z_PRIO_BEHIND) | ||
# end sort marker | ||
|
||
my.tile(self, | ||
ascii_fg_char="diamond_solid", ascii_bg_col_name="", ascii_fg_col_name="gray30", | ||
tile=name, delay_ms=100) | ||
|
||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="spellbook4", text_long_name="spellbook", text_short_name="spellbook") | ||
|
||
|
||
init() |
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,66 @@ | ||
import my | ||
import tp | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.collision_hit_priority(self, 5) | ||
my.environ_dislikes_fire(self, 10) | ||
my.gfx_ascii_shown(self, True) | ||
my.gfx_pixelart_reflection(self, True) | ||
my.gfx_pixelart_shadow(self, True) | ||
my.gfx_pixelart_shadow_short(self, True) | ||
my.gfx_pixelart_show_highlighted(self, True) | ||
my.gfx_pixelart_show_outlined(self, True) | ||
my.gfx_pixelart_submergible(self, True) | ||
my.charge_count(self, 5) | ||
my.gold_value_dice(self, "3000") | ||
my.is_able_to_be_teleported(self, True) | ||
my.is_able_to_fall(self, True) | ||
my.is_bag_item(self, True) | ||
my.is_biome_chasms(self, True) | ||
my.is_biome_dungeon(self, True) | ||
my.is_biome_flooded(self, True) | ||
my.is_biome_ice(self, True) | ||
my.is_biome_lava(self, True) | ||
my.is_collectable(self, True) | ||
my.is_described_when_hovering_over(self, True) | ||
my.is_droppable(self, True) | ||
my.is_interesting(self, True) | ||
my.is_item(self, True) | ||
my.is_loggable(self, True) | ||
my.is_moveable(self, True) | ||
my.is_spellbook(self, True) | ||
my.is_throwable(self, True) | ||
my.is_treasure_class_C(self, True) | ||
my.is_treasure(self, True) | ||
my.rarity(self, my.RARITY_VERY_RARE) | ||
my.is_treasure_type(self, True) | ||
my.is_usable(self, True) | ||
my.item_height(self, 5) | ||
my.item_width(self, 5) | ||
my.stat_luck_bonus(self, -8) | ||
my.noise_on_dropping(self, 90) | ||
my.normal_placement_rules(self, True) | ||
my.text_a_or_an(self, "a") | ||
my.text_description_long(self, "Read this darkest of spellbooks to learn some new spells into your brain matter thing.") | ||
my.text_description_long2(self, "This book is emblazoned with a monstrous demonic face on its cover. It has a dark energy about it. Best to learn the spells inside quickly and get rid of it soon!") | ||
my.text_description_short(self, "A dusty spellbook.") | ||
my.tick_prio(self, my.MAP_TICK_PRIO_NORMAL) | ||
my.z_depth(self, my.MAP_DEPTH_OBJ) | ||
my.z_prio(self, my.MAP_Z_PRIO_BEHIND) | ||
# end sort marker | ||
|
||
my.tile(self, | ||
ascii_fg_char="diamond_solid", ascii_bg_col_name="", ascii_fg_col_name="red", | ||
tile=name, delay_ms=100) | ||
|
||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="spellbook5", text_long_name="spellbook", text_short_name="spellbook") | ||
|
||
|
||
init() |
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