Added get_block_contents and updated readme

This commit is contained in:
Timothy GFO 2023-10-05 01:56:25 -04:00
parent c6be529e06
commit 45b6344f28
7 changed files with 172 additions and 260 deletions

View file

@ -30,7 +30,7 @@ aliases = {
"weapon_slot_10" : "1k10",
"weapon_slot_11" : "1k11",
"level_music" : "1m",
"room_active" : "2a", #2aX,Y="1.000"
"room_active" : "2a",
"game_version" : "0v",
"charge_broom" : "1cc",
"dodge_roll" : "1cb",
@ -41,20 +41,23 @@ aliases = {
"track_id" : "1l",
"spike_subtype" : "l",
"object_type" : "d",
"bg" : "2d"
"bg" : "2d",
"lava_status" : "q"
}
#weapons definition. currently it's a dictionary with each weapon_name being it's ID number.
weapons = {
"M. Buster" : "0",
# 1 = S. Tomahawk
# 2 = W. Storm
# 3 = P. Shot
# 4 = Metal Blade
# 5 = Rush Coil
# 6 = S. Crash
# 7 = Rush Jet
# 8 = Shine
# 9 = Gravity Hold
"S. Tomahawk" : "1",
"W. Storm" : "2",
"P. Shot" : "3",
"Metal Blade" : "4",
"Rush Coil" : "5",
"S. Crash" : "6",
"Rush Jet" : "7",
"Shine" : "8",
"Gravity Hold" : "9"
# 10 = Top Spin
# 11 = Magnet Beam
# 12 = C. Bomber
@ -90,18 +93,13 @@ weapons = {
# 42 = S. Arrow
# 43 = Power Stone
# 44 = W. Wave
# 45 = C. Eye
# 45 = C. EyePy-MMLV
}
supported_values = {
"weapon_slot" : weapons,
}
tile_names = {
"mm1cuttile" : '"3.000"'
"mm1cuttile" : "3"
}
object_names = {
@ -112,7 +110,10 @@ object_names = {
background_names = {
"cut" : "115"
}
block_with_coordinates = ["a", "k", "j", "i","e"]
block_with_coordinates = ["a", "k", "j", "i","e", "o", "d", "q"]
tile_identifiers = [["a", "enable"], ["k", "sub_type"], "j", "i","e"]
spike_identifiers = [["l", "direction"],"i","e","a"]
spike_direction = [["1" ,"point_down"], ["0", "point_up"], ["2", "point_left"], ["3", "point_right"], ["4", "center"]]