|
- |
+
+ - GRANITE_UNSAFE (lihzahrd.tiles.WallType attribute)
+
+ - GRASS (lihzahrd.tiles.BlockType attribute)
+
+
+ - GRASS_UNSAFE (lihzahrd.tiles.WallType attribute)
+
+ - GRASSHOPPER_CAGE (lihzahrd.tiles.BlockType attribute)
+
+ - GRAY (lihzahrd.tiles.WallType attribute)
+
+ - GRAY_BRICK (lihzahrd.tiles.BlockType attribute)
+
+
+ - GRAY_STUCCO (lihzahrd.tiles.BlockType attribute)
+
+ - green (lihzahrd.tiles.Wiring attribute)
+
+ - GREEN_CANDY_CANE (lihzahrd.tiles.WallType attribute)
+
+ - GREEN_CANDY_CANE_BLOCK (lihzahrd.tiles.BlockType attribute)
+
+ - GREEN_DUNGEON (lihzahrd.tiles.WallType attribute)
+
+ - GREEN_DUNGEON_BRICK (lihzahrd.tiles.BlockType attribute)
+
+ - GREEN_DUNGEON_SLAB (lihzahrd.tiles.WallType attribute)
+
+ - GREEN_DUNGEON_SLAB_UNSAFE (lihzahrd.tiles.WallType attribute)
+
+ - GREEN_DUNGEON_TILE (lihzahrd.tiles.WallType attribute)
+
+ - GREEN_DUNGEON_TILE_UNSAFE (lihzahrd.tiles.WallType attribute)
+
+ - GREEN_DUNGEON_UNSAFE (lihzahrd.tiles.WallType attribute)
+
+ - GREEN_JELLYFISH_BOWL (lihzahrd.tiles.BlockType attribute)
+
+ - GREEN_MOSS (lihzahrd.tiles.BlockType attribute)
+
+ - GREEN_STAINED_GLASS (lihzahrd.tiles.WallType attribute)
+
+ - GREEN_STUCCO (lihzahrd.tiles.BlockType attribute)
+
+
+ - GRINCH_FINGER_WALLPAPER (lihzahrd.tiles.WallType attribute)
- GUIDE_VOODOO_FISH (lihzahrd.header.AnglerQuestFish attribute)
@@ -376,16 +1055,102 @@
H
|
- |
+ |
@@ -394,19 +1159,33 @@
I
@@ -438,7 +1231,47 @@
J
+
+K
+
@@ -446,11 +1279,129 @@
L
@@ -576,51 +1847,251 @@
S
@@ -628,57 +2099,167 @@
T
U
@@ -688,8 +2269,6 @@
|
-
|
+ |
W
+Y
+
+
Z
+ |
@@ -466,91 +468,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -879,11 +796,6 @@
-
-
-
-
-
class
lihzahrd.header. Sandstorm (is_active: bool, time_left: int, severity: float, intended_severity: float)
@@ -1011,6 +923,8 @@
diff --git a/docs/html/objects.inv b/docs/html/objects.inv
index 48d3652..af380d1 100644
Binary files a/docs/html/objects.inv and b/docs/html/objects.inv differ
diff --git a/docs/html/py-modindex.html b/docs/html/py-modindex.html
index 377e330..b05cc17 100644
--- a/docs/html/py-modindex.html
+++ b/docs/html/py-modindex.html
@@ -84,6 +84,7 @@
@@ -166,6 +167,11 @@
lihzahrd.header |
| |
+
+ |
+
+ lihzahrd.tiles |
+ |
diff --git a/docs/html/search.html b/docs/html/search.html
index 3820a50..63d96e6 100644
--- a/docs/html/search.html
+++ b/docs/html/search.html
@@ -82,6 +82,7 @@
diff --git a/docs/html/searchindex.js b/docs/html/searchindex.js
index e40b4de..db6e46f 100644
--- a/docs/html/searchindex.js
+++ b/docs/html/searchindex.js
@@ -1 +1 @@
-Search.setIndex({docnames:["header","index","world"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,"sphinx.ext.intersphinx":1,sphinx:56},filenames:["header.rst","index.rst","world.rst"],objects:{"lihzahrd.World":{altars_smashed:[2,1,1,""],anglers_quest:[2,1,1,""],backgrounds:[2,1,1,""],bosses_defeated:[2,1,1,""],bounds:[2,1,1,""],cavern_level:[2,1,1,""],create_from_file:[2,2,1,""],created_on:[2,1,1,""],crimson_hearts:[2,2,1,""],dungeon_point:[2,1,1,""],events:[2,1,1,""],generator:[2,1,1,""],id:[2,1,1,""],is_expert:[2,1,1,""],is_favorite:[2,1,1,""],is_hardmode:[2,1,1,""],name:[2,1,1,""],revision:[2,1,1,""],saved_npcs:[2,1,1,""],savefile_type:[2,1,1,""],shadow_orbs:[2,1,1,""],size:[2,1,1,""],spawn_point:[2,1,1,""],styles:[2,1,1,""],time:[2,1,1,""],underground_level:[2,1,1,""],uuid:[2,1,1,""],version:[2,1,1,""],world_evil:[2,1,1,""]},"lihzahrd.header":{AltarsSmashed:[0,0,1,""],AnglerQuest:[0,0,1,""],AnglerQuestFish:[0,0,1,""],Backgrounds:[0,0,1,""],BossesDefeated:[0,0,1,""],Clouds:[0,0,1,""],Coordinates:[0,0,1,""],Events:[0,0,1,""],FileReader:[0,0,1,""],FourPartSplit:[0,0,1,""],GeneratorInfo:[0,0,1,""],HardmodeTier1Ore:[0,0,1,""],HardmodeTier2Ore:[0,0,1,""],HardmodeTier3Ore:[0,0,1,""],Invasion:[0,0,1,""],InvasionType:[0,0,1,""],LunarEvents:[0,0,1,""],MoonPhase:[0,0,1,""],MoonStyle:[0,0,1,""],OldOnesArmyTiers:[0,0,1,""],Party:[0,0,1,""],PillarsInfo:[0,0,1,""],Rain:[0,0,1,""],Rect:[0,0,1,""],Sandstorm:[0,0,1,""],SavedNPCs:[0,0,1,""],ShadowOrbs:[0,0,1,""],Styles:[0,0,1,""],Time:[0,0,1,""],Version:[0,0,1,""],WorldEvilType:[0,0,1,""]},"lihzahrd.header.AltarsSmashed":{count:[0,1,1,""]},"lihzahrd.header.AnglerQuest":{completed_by:[0,1,1,""],current_goal:[0,1,1,""]},"lihzahrd.header.AnglerQuestFish":{AMANITIA_FUNGIFIN:[0,1,1,""],ANGELFISH:[0,1,1,""],BATFISH:[0,1,1,""],BLOODY_MANOWAR:[0,1,1,""],BONEFISH:[0,1,1,""],BUMBLEBEE_TUNA:[0,1,1,""],BUNNYFISH:[0,1,1,""],CAPN_TUNABEARD:[0,1,1,""],CATFISH:[0,1,1,""],CLOUDFISH:[0,1,1,""],CLOWNFISH:[0,1,1,""],CURSEDFISH:[0,1,1,""],DEMONIC_HELLFISH:[0,1,1,""],DERPFISH:[0,1,1,""],DIRTFISH:[0,1,1,""],DYNAMITE_FISH:[0,1,1,""],EATER_OF_PLANKTON:[0,1,1,""],FALLEN_STARFISH:[0,1,1,""],FISHOTRON:[0,1,1,""],FISHRON:[0,1,1,""],GUIDE_VOODOO_FISH:[0,1,1,""],HARPYFISH:[0,1,1,""],HUNGERFISH:[0,1,1,""],ICHORFISH:[0,1,1,""],INFECTED_SCABBARDFISH:[0,1,1,""],JEWELFISH:[0,1,1,""],MIRAGE_FISH:[0,1,1,""],MUDFISH:[0,1,1,""],MUTANT_FLINXFIN:[0,1,1,""],PENGFISH:[0,1,1,""],PIXIEFISH:[0,1,1,""],SLIMEFISH:[0,1,1,""],SPIDERFISH:[0,1,1,""],THE_FISH_OF_CTHULHU:[0,1,1,""],TROPICAL_BARRACUDA:[0,1,1,""],TUNDRA_TROUT:[0,1,1,""],UNICORN_FISH:[0,1,1,""],WYVERNTAIL:[0,1,1,""],ZOMBIE_FISH:[0,1,1,""]},"lihzahrd.header.BossesDefeated":{any_mechnical_boss:[0,1,1,""]},"lihzahrd.header.Events":{blood_moon:[0,1,1,""],invasion:[0,1,1,""],lunar_events:[0,1,1,""],party:[0,1,1,""],rain:[0,1,1,""],sandstorm:[0,1,1,""],slime_rain:[0,1,1,""],solar_eclipse:[0,1,1,""]},"lihzahrd.header.FileReader":{"double":[0,2,1,""],bit:[0,2,1,""],bool:[0,2,1,""],datetime:[0,2,1,""],int1:[0,2,1,""],int2:[0,2,1,""],int4:[0,2,1,""],int8:[0,2,1,""],rect:[0,2,1,""],single:[0,2,1,""],string:[0,2,1,""],uint1:[0,2,1,""],uint2:[0,2,1,""],uint4:[0,2,1,""],uint8:[0,2,1,""],uuid:[0,2,1,""]},"lihzahrd.header.FourPartSplit":{far_left:[0,2,1,""],far_right:[0,2,1,""],get_property_at_x:[0,2,1,""],nearby_left:[0,2,1,""],nearby_right:[0,2,1,""],properties:[0,1,1,""],separators:[0,1,1,""]},"lihzahrd.header.GeneratorInfo":{seed:[0,1,1,""],version:[0,1,1,""]},"lihzahrd.header.HardmodeTier1Ore":{COBALT:[0,1,1,""],NOT_DETERMINED:[0,1,1,""],PALLADIUM:[0,1,1,""]},"lihzahrd.header.HardmodeTier2Ore":{MYTHRIL:[0,1,1,""],NOT_DETERMINED:[0,1,1,""],ORICHALCUM:[0,1,1,""]},"lihzahrd.header.HardmodeTier3Ore":{ADAMANTITE:[0,1,1,""],NOT_DETERMINED:[0,1,1,""],NOT_DETERMINED_TOO:[0,1,1,""],TITANIUM:[0,1,1,""]},"lihzahrd.header.Invasion":{type:[0,1,1,""]},"lihzahrd.header.InvasionType":{FROST_LEGION:[0,1,1,""],GOBLIN_INVASION:[0,1,1,""],MARTIAN_MADNESS:[0,1,1,""],NONE:[0,1,1,""],PIRATE_INVASION:[0,1,1,""]},"lihzahrd.header.LunarEvents":{are_active:[0,1,1,""],pillars_present:[0,1,1,""]},"lihzahrd.header.MoonPhase":{FIRST_QUARTER:[0,1,1,""],FULL_MOON:[0,1,1,""],NEW_MOON:[0,1,1,""],THIRD_QUARTER:[0,1,1,""],WANING_CRESCENT:[0,1,1,""],WANING_GIBBOUS:[0,1,1,""],WAXING_CRESCENT:[0,1,1,""],WAXING_GIBBOUS:[0,1,1,""]},"lihzahrd.header.MoonStyle":{ORANGE:[0,1,1,""],RINGED_GREEN:[0,1,1,""],WHITE:[0,1,1,""]},"lihzahrd.header.Party":{cooldown:[0,1,1,""],is_active:[0,2,1,""],partying_npcs:[0,1,1,""],thrown_by_npcs:[0,1,1,""],thrown_by_party_center:[0,1,1,""]},"lihzahrd.header.Rain":{is_active:[0,1,1,""],time_left:[0,1,1,""]},"lihzahrd.header.Sandstorm":{is_active:[0,1,1,""],time_left:[0,1,1,""]},"lihzahrd.header.ShadowOrbs":{evil_boss_counter:[0,1,1,""],smashed_at_least_once:[0,1,1,""],spawn_meteorite:[0,1,1,""]},"lihzahrd.header.Time":{current:[0,1,1,""],is_daytime:[0,1,1,""],moon_phase:[0,1,1,""],sundial_cooldown:[0,1,1,""]},"lihzahrd.header.Version":{_version_ids:[0,1,1,""],name:[0,2,1,""]},"lihzahrd.header.WorldEvilType":{CORRUPTION:[0,1,1,""],CRIMSON:[0,1,1,""]},lihzahrd:{World:[2,0,1,""],header:[0,3,0,"-"]}},objnames:{"0":["py","class","Python class"],"1":["py","attribute","Python attribute"],"2":["py","method","Python method"],"3":["py","module","Python module"]},objtypes:{"0":"py:class","1":"py:attribute","2":"py:method","3":"py:module"},terms:{"class":[0,2],"float":[0,2],"int":[0,2],"long":0,"true":0,IDs:0,The:[0,2],Used:2,_version_id:0,about:[0,2],activ:0,actual:0,adamantit:0,all:[0,2],altar:[0,2],altars_smash:2,altarssmash:[0,2],alwai:2,amanitia_fungifin:0,angelfish:0,angler:[0,2],anglerquest:[0,2],anglerquestfish:0,anglers_quest:2,ani:0,any_mechnical_boss:0,appear:0,are_act:0,armi:0,associ:0,background:[0,2],bartend:0,batfish:0,beat:0,been:[0,2],between:0,bg_cloud:0,bg_corrupt:0,bg_crimson:0,bg_desert:0,bg_forest:0,bg_hallow:0,bg_hell:0,bg_jungl:0,bg_ocean:0,bg_snow:0,bg_underground_jungl:0,bg_underground_snow:0,biom:[0,2],bit:0,blood:0,blood_moon:0,bloody_manowar:0,bonefish:0,bool:[0,2],boss:[0,2],bosses_def:2,bossesdef:[0,2],bottom:0,bound:2,broken:0,bumblebee_tuna:0,bunnyfish:0,can:0,cannot:0,capn_tunabeard:0,catfish:0,cavern:2,cavern_level:2,center:0,certain:0,classmethod:2,click:0,cloud:[0,2],cloud_numb:0,cloudfish:0,clown:0,clownfish:0,cobalt:0,complet:0,completed_bi:0,contain:0,continu:0,cooldown:0,coordin:[0,2],corrupt:[0,2],count:0,creat:[0,2],create_from_fil:2,created_on:2,creation:2,crimson:[0,2],crimson_heart:2,cultist_delai:2,current:[0,2],current_go:0,cursedfish:0,dai:0,data:0,date:2,datetim:0,defeat:2,delai:0,demon:2,demonic_hellfish:0,depth:2,derpfish:0,desert:0,destruct:2,differ:0,dirtfish:0,doesn:2,doubl:0,duke_fishron:0,dungeon_point:2,dynamite_fish:0,eater:0,eater_of_plankton:0,eater_of_world:0,eclips:0,edg:0,element:[0,2],enchant:0,enumer:0,event:[0,2],ever:0,everscream:0,evil_boss_count:0,expert:2,eye_of_cthulhu:0,fallen_starfish:0,fals:0,far:0,far_left:0,far_right:0,fast_forward_tim:0,favorit:2,file:[0,2],filenam:2,fileread:0,first:0,first_quart:0,fish:0,fishotron:0,fishron:0,flag:0,follow:2,format:2,four:0,fourpartsplit:0,from:2,frost_legion:0,frost_moon:0,full_moon:0,game:[0,2],gener:[0,2],generatorinfo:[0,2],get_property_at_x:0,github:1,given:2,goblin:0,goblin_armi:0,goblin_invas:0,goblin_tinker:0,golem:0,guide_voodoo_fish:0,hardmod:[0,2],hardmodeor:0,hardmodetier1or:0,hardmodetier2or:0,hardmodetier3or:0,harpyfish:0,has:[0,2],have:2,header:[1,2],heart:[0,2],how:0,hungerfish:0,ice_queen:0,ichorfish:0,id_:2,increas:0,index:1,infected_scabbardfish:0,inform:[0,2],int1:0,int2:0,int4:0,int8:0,intended_sever:0,invas:0,invasiontyp:0,is_act:0,is_daytim:0,is_expert:2,is_favorit:2,is_hardmod:2,item:0,jewelfish:0,king_slim:0,land:0,last:2,left:0,line:0,list:0,lunar:0,lunar_ev:0,lunar_pillar:0,lunarev:0,mad:0,man:2,mark:2,martian:0,martian_mad:0,match:2,max_rain:0,mechan:0,meteorit:0,midnight:0,minimap:2,mirage_fish:0,mode:2,modulo:0,moon:0,moon_lord:0,moon_phas:0,moonphas:0,moonstyl:0,moss:0,mourning_wood:0,mudfish:0,mutant_flinxfin:0,mythril:0,name:[0,2],nearbi:0,nearby_left:0,nearby_right:0,nebula:0,new_moon:0,night:0,none:[0,2],not_determin:0,not_determined_too:0,npc:[0,2],number:[0,2],object:2,old:2,old_ones_armi:0,oldonesarmyti:0,one:0,ongo:[0,2],orang:0,orb:[0,2],order:0,ore_tier1:0,ore_tier2:0,ore_tier3:0,ores:0,orichalcum:0,pair:0,palladium:0,part:0,parti:0,partying_npc:0,pengfish:0,phase:0,pillar:0,pillars_pres:0,pillarsinfo:0,pirat:0,pirate_invas:0,pixel:2,pixiefish:0,plantera:0,player:[0,2],point:2,posit:0,possibl:0,present:0,properti:[0,2],pumpk:0,pwnhammer:2,python:2,queen_be:0,quest:[0,2],rain:0,rect:[0,2],relat:[0,2],repres:0,represent:2,request:0,rescu:2,revis:2,right:0,ringed_green:0,sandstorm:0,santa_nk1:0,save:2,saved_npc:2,savednpc:[0,2],savefil:2,savefile_typ:2,second:0,seed:0,separ:0,set:0,sever:0,shadow:[0,2],shadow_orb:2,shadoworb:[0,2],should:[0,2],singl:0,size:[0,2],size_start:0,skeletron:0,skeletron_prim:0,slime:0,slime_rain:0,slimefish:0,smash:0,smashed_at_least_onc:0,solar:0,solar_eclips:0,spawn:[0,2],spawn_meteorit:0,spawn_point:2,specif:0,spiderfish:0,split:0,spontan:0,stardust:0,start:[0,2],str:[0,2],string:0,style:[0,2],stylist:0,sundial:0,sundial_cooldown:0,tax_collector:0,terraria:[0,2],the_destroy:0,the_fish_of_cthulhu:0,the_twin:0,thi:[0,2],third:0,third_quart:0,three:0,threw:0,thrown:0,thrown_by_npc:0,thrown_by_party_cent:0,tier1:0,tier2:0,tier3:0,tile:2,time:[0,2],time_left:0,titanium:0,todai:[0,2],top:0,tree:0,tropical_barracuda:0,tundra_trout:0,tupl:0,type:0,type_:0,uint1:0,uint2:0,uint4:0,uint8:0,underground:2,underground_level:2,unicorn_fish:0,union:0,uniqu:2,univers:2,used:0,uuid:[0,2],uuid_:2,variou:[0,2],version:[0,2],vertic:0,vortex:0,waning_cresc:0,waning_gibb:0,waxing_cresc:0,waxing_gibb:0,were:2,when:[0,2],whether:2,which:[0,2],white:0,who:0,wind_spe:0,wizard:0,wld:2,world:[0,1],world_evil:2,worldeviltyp:[0,2],wyverntail:0,zombie_fish:0},titles:["lihzahrd.header","lihzahrd","lihzahrd.World"],titleterms:{header:0,lihzahrd:[0,1,2],link:1,some:1,useful:1,world:2}})
\ No newline at end of file
+Search.setIndex({docnames:["header","index","tiles","world"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,"sphinx.ext.intersphinx":1,sphinx:56},filenames:["header.rst","index.rst","tiles.rst","world.rst"],objects:{"lihzahrd.World":{_read_tiles:[3,1,1,""],altars_smashed:[3,2,1,""],anglers_quest:[3,2,1,""],backgrounds:[3,2,1,""],bosses_defeated:[3,2,1,""],bounds:[3,2,1,""],cavern_level:[3,2,1,""],create_from_file:[3,1,1,""],created_on:[3,2,1,""],crimson_hearts:[3,1,1,""],dungeon_point:[3,2,1,""],events:[3,2,1,""],generator:[3,2,1,""],id:[3,2,1,""],is_expert:[3,2,1,""],is_favorite:[3,2,1,""],is_hardmode:[3,2,1,""],name:[3,2,1,""],revision:[3,2,1,""],saved_npcs:[3,2,1,""],savefile_type:[3,2,1,""],shadow_orbs:[3,2,1,""],size:[3,2,1,""],spawn_point:[3,2,1,""],styles:[3,2,1,""],time:[3,2,1,""],underground_level:[3,2,1,""],uuid:[3,2,1,""],version:[3,2,1,""],world_evil:[3,2,1,""]},"lihzahrd.header":{AltarsSmashed:[0,0,1,""],AnglerQuest:[0,0,1,""],AnglerQuestFish:[0,0,1,""],Backgrounds:[0,0,1,""],BossesDefeated:[0,0,1,""],Clouds:[0,0,1,""],Coordinates:[0,0,1,""],Events:[0,0,1,""],FourPartSplit:[0,0,1,""],GeneratorInfo:[0,0,1,""],HardmodeTier1Ore:[0,0,1,""],HardmodeTier2Ore:[0,0,1,""],HardmodeTier3Ore:[0,0,1,""],Invasion:[0,0,1,""],InvasionType:[0,0,1,""],LunarEvents:[0,0,1,""],MoonPhase:[0,0,1,""],MoonStyle:[0,0,1,""],OldOnesArmyTiers:[0,0,1,""],Party:[0,0,1,""],PillarsInfo:[0,0,1,""],Rain:[0,0,1,""],Sandstorm:[0,0,1,""],SavedNPCs:[0,0,1,""],ShadowOrbs:[0,0,1,""],Styles:[0,0,1,""],Time:[0,0,1,""],Version:[0,0,1,""],WorldEvilType:[0,0,1,""]},"lihzahrd.header.AltarsSmashed":{count:[0,2,1,""]},"lihzahrd.header.AnglerQuest":{completed_by:[0,2,1,""],current_goal:[0,2,1,""]},"lihzahrd.header.AnglerQuestFish":{AMANITIA_FUNGIFIN:[0,2,1,""],ANGELFISH:[0,2,1,""],BATFISH:[0,2,1,""],BLOODY_MANOWAR:[0,2,1,""],BONEFISH:[0,2,1,""],BUMBLEBEE_TUNA:[0,2,1,""],BUNNYFISH:[0,2,1,""],CAPN_TUNABEARD:[0,2,1,""],CATFISH:[0,2,1,""],CLOUDFISH:[0,2,1,""],CLOWNFISH:[0,2,1,""],CURSEDFISH:[0,2,1,""],DEMONIC_HELLFISH:[0,2,1,""],DERPFISH:[0,2,1,""],DIRTFISH:[0,2,1,""],DYNAMITE_FISH:[0,2,1,""],EATER_OF_PLANKTON:[0,2,1,""],FALLEN_STARFISH:[0,2,1,""],FISHOTRON:[0,2,1,""],FISHRON:[0,2,1,""],GUIDE_VOODOO_FISH:[0,2,1,""],HARPYFISH:[0,2,1,""],HUNGERFISH:[0,2,1,""],ICHORFISH:[0,2,1,""],INFECTED_SCABBARDFISH:[0,2,1,""],JEWELFISH:[0,2,1,""],MIRAGE_FISH:[0,2,1,""],MUDFISH:[0,2,1,""],MUTANT_FLINXFIN:[0,2,1,""],PENGFISH:[0,2,1,""],PIXIEFISH:[0,2,1,""],SLIMEFISH:[0,2,1,""],SPIDERFISH:[0,2,1,""],THE_FISH_OF_CTHULHU:[0,2,1,""],TROPICAL_BARRACUDA:[0,2,1,""],TUNDRA_TROUT:[0,2,1,""],UNICORN_FISH:[0,2,1,""],WYVERNTAIL:[0,2,1,""],ZOMBIE_FISH:[0,2,1,""]},"lihzahrd.header.BossesDefeated":{any_mechnical_boss:[0,2,1,""]},"lihzahrd.header.Events":{blood_moon:[0,2,1,""],invasion:[0,2,1,""],lunar_events:[0,2,1,""],party:[0,2,1,""],rain:[0,2,1,""],sandstorm:[0,2,1,""],slime_rain:[0,2,1,""],solar_eclipse:[0,2,1,""]},"lihzahrd.header.FourPartSplit":{far_left:[0,1,1,""],far_right:[0,1,1,""],get_property_at_x:[0,1,1,""],nearby_left:[0,1,1,""],nearby_right:[0,1,1,""],properties:[0,2,1,""],separators:[0,2,1,""]},"lihzahrd.header.GeneratorInfo":{seed:[0,2,1,""],version:[0,2,1,""]},"lihzahrd.header.HardmodeTier1Ore":{COBALT:[0,2,1,""],NOT_DETERMINED:[0,2,1,""],PALLADIUM:[0,2,1,""]},"lihzahrd.header.HardmodeTier2Ore":{MYTHRIL:[0,2,1,""],NOT_DETERMINED:[0,2,1,""],ORICHALCUM:[0,2,1,""]},"lihzahrd.header.HardmodeTier3Ore":{ADAMANTITE:[0,2,1,""],NOT_DETERMINED:[0,2,1,""],NOT_DETERMINED_TOO:[0,2,1,""],TITANIUM:[0,2,1,""]},"lihzahrd.header.Invasion":{type:[0,2,1,""]},"lihzahrd.header.InvasionType":{FROST_LEGION:[0,2,1,""],GOBLIN_INVASION:[0,2,1,""],MARTIAN_MADNESS:[0,2,1,""],NONE:[0,2,1,""],PIRATE_INVASION:[0,2,1,""]},"lihzahrd.header.LunarEvents":{are_active:[0,2,1,""],pillars_present:[0,2,1,""]},"lihzahrd.header.MoonPhase":{FIRST_QUARTER:[0,2,1,""],FULL_MOON:[0,2,1,""],NEW_MOON:[0,2,1,""],THIRD_QUARTER:[0,2,1,""],WANING_CRESCENT:[0,2,1,""],WANING_GIBBOUS:[0,2,1,""],WAXING_CRESCENT:[0,2,1,""],WAXING_GIBBOUS:[0,2,1,""]},"lihzahrd.header.MoonStyle":{ORANGE:[0,2,1,""],RINGED_GREEN:[0,2,1,""],WHITE:[0,2,1,""]},"lihzahrd.header.Party":{cooldown:[0,2,1,""],is_active:[0,1,1,""],partying_npcs:[0,2,1,""],thrown_by_npcs:[0,2,1,""],thrown_by_party_center:[0,2,1,""]},"lihzahrd.header.Rain":{is_active:[0,2,1,""],time_left:[0,2,1,""]},"lihzahrd.header.Sandstorm":{is_active:[0,2,1,""],time_left:[0,2,1,""]},"lihzahrd.header.ShadowOrbs":{evil_boss_counter:[0,2,1,""],smashed_at_least_once:[0,2,1,""],spawn_meteorite:[0,2,1,""]},"lihzahrd.header.Time":{current:[0,2,1,""],is_daytime:[0,2,1,""],moon_phase:[0,2,1,""],sundial_cooldown:[0,2,1,""]},"lihzahrd.header.Version":{_version_ids:[0,2,1,""],name:[0,1,1,""]},"lihzahrd.header.WorldEvilType":{CORRUPTION:[0,2,1,""],CRIMSON:[0,2,1,""]},"lihzahrd.tiles":{Block:[2,0,1,""],BlockType:[2,0,1,""],FrameImportantData:[2,0,1,""],Liquid:[2,0,1,""],LiquidType:[2,0,1,""],RLEEncoding:[2,0,1,""],Shape:[2,0,1,""],Tile:[2,0,1,""],Wall:[2,0,1,""],WallType:[2,0,1,""],Wiring:[2,0,1,""]},"lihzahrd.tiles.Block":{frame:[2,2,1,""],is_active:[2,2,1,""],paint:[2,2,1,""],shape:[2,2,1,""],type:[2,2,1,""]},"lihzahrd.tiles.BlockType":{ACTIVE_STONE_BLOCK:[2,2,1,""],ADAMANTITE:[2,2,1,""],ADAMANTITE_BEAM:[2,2,1,""],ADAMANTITE_FORGE:[2,2,1,""],ALCHEMY_TABLE:[2,2,1,""],ALPHABET_STATUES:[2,2,1,""],AMBER_GEMSPARK:[2,2,1,""],AMBER_GEMSPARK_OFF:[2,2,1,""],AMETHYST:[2,2,1,""],AMETHYST_GEMSPARK:[2,2,1,""],AMETHYST_GEMSPARK_OFF:[2,2,1,""],AMMO_BOX:[2,2,1,""],ANNOUNCEMENT_BOX:[2,2,1,""],ANVILS:[2,2,1,""],ASH:[2,2,1,""],ASPHALT:[2,2,1,""],AUTOHAMMER:[2,2,1,""],BANNERS:[2,2,1,""],BATHTUBS:[2,2,1,""],BEACH_PILES:[2,2,1,""],BEDS:[2,2,1,""],BEE_HIVE:[2,2,1,""],BENCHES:[2,2,1,""],BEWITCHING_TABLE:[2,2,1,""],BIRD_CAGE:[2,2,1,""],BLACK_SCORPION_CAGE:[2,2,1,""],BLENDOMATIC:[2,2,1,""],BLOOMING_HERBS:[2,2,1,""],BLUE_DUNGEON_BRICK:[2,2,1,""],BLUE_DYNASTY_SHINGLES:[2,2,1,""],BLUE_JAY:[2,2,1,""],BLUE_JELLYFISH_BOWL:[2,2,1,""],BLUE_MOSS:[2,2,1,""],BONE_BLOCK:[2,2,1,""],BONE_WELDER:[2,2,1,""],BOOKCASES:[2,2,1,""],BOOKS:[2,2,1,""],BOREAL_WOOD:[2,2,1,""],BOTTLES:[2,2,1,""],BOULDER:[2,2,1,""],BOWLS:[2,2,1,""],BREAKABLE_ICE:[2,2,1,""],BROWN_MOSS:[2,2,1,""],BUBBLE:[2,2,1,""],BUBBLEGUM_BLOCK:[2,2,1,""],BUBBLE_MACHINE:[2,2,1,""],BUNNY_CAGE:[2,2,1,""],CACTUS:[2,2,1,""],CACTUS_BLOCK:[2,2,1,""],CAGE_BUGGY:[2,2,1,""],CAGE_ENCHANTED_NIGHTCRAWLER:[2,2,1,""],CAGE_GRUBBY:[2,2,1,""],CAGE_SLUGGY:[2,2,1,""],CAMPFIRE:[2,2,1,""],CANDELABRAS:[2,2,1,""],CANDLES:[2,2,1,""],CANDY_CANE_BLOCK:[2,2,1,""],CANNON:[2,2,1,""],CARDINAL_CAGE:[2,2,1,""],CHAIN:[2,2,1,""],CHAIRS:[2,2,1,""],CHANDELIERS:[2,2,1,""],CHIMNEY:[2,2,1,""],CHIMNEY_SMOKE:[2,2,1,""],CHINESE_LANTERNS:[2,2,1,""],CHLOROPHYTE:[2,2,1,""],CHLOROPHYTE_BRICK:[2,2,1,""],CHRISTMAS_TREE:[2,2,1,""],CLAY_BLOCK:[2,2,1,""],CLAY_POT:[2,2,1,""],CLOSED_DOOR:[2,2,1,""],CLOUD:[2,2,1,""],COBALT:[2,2,1,""],COBALT_BRICK:[2,2,1,""],COBWEB:[2,2,1,""],COG:[2,2,1,""],CONFETTI:[2,2,1,""],CONFETTI_BLACK:[2,2,1,""],CONTAINERS2:[2,2,1,""],CONTAINERS:[2,2,1,""],CONVEYOR_BELT_LEFT:[2,2,1,""],CONVEYOR_BELT_RIGHT:[2,2,1,""],COOKING_POTS:[2,2,1,""],COPPER:[2,2,1,""],COPPER_BRICK:[2,2,1,""],COPPER_COIN_PILE:[2,2,1,""],COPPER_PLATING:[2,2,1,""],CORAL:[2,2,1,""],CORALSTONE:[2,2,1,""],CORRUPT_GRASS:[2,2,1,""],CORRUPT_HARDENED_SAND:[2,2,1,""],CORRUPT_ICE:[2,2,1,""],CORRUPT_PLANTS:[2,2,1,""],CORRUPT_SANDSTONE:[2,2,1,""],CORRUPT_THORNS:[2,2,1,""],COUNT:[2,2,1,""],CRIMSAND:[2,2,1,""],CRIMSON_HARDENED_SAND:[2,2,1,""],CRIMSON_SANDSTONE:[2,2,1,""],CRIMSON_VINES:[2,2,1,""],CRIMSTONE:[2,2,1,""],CRIMTANE:[2,2,1,""],CRIMTANE_BRICK:[2,2,1,""],CRIMTANE_THORNS:[2,2,1,""],CRISPY_HONEY_BLOCK:[2,2,1,""],CRYSTALS:[2,2,1,""],CRYSTAL_BALL:[2,2,1,""],CRYSTAL_BLOCK:[2,2,1,""],DEFENDERS_FORGE:[2,2,1,""],DEMONITE:[2,2,1,""],DEMONITE_BRICK:[2,2,1,""],DEMON_ALTAR:[2,2,1,""],DESERT_FOSSIL:[2,2,1,""],DETONATOR:[2,2,1,""],DIAMOND:[2,2,1,""],DIAMOND_GEMSPARK:[2,2,1,""],DIAMOND_GEMSPARK_OFF:[2,2,1,""],DIRT:[2,2,1,""],DISCO_BALL:[2,2,1,""],DJINN_LAMP:[2,2,1,""],DRESSERS:[2,2,1,""],DUCK_CAGE:[2,2,1,""],DYE_PLANTS:[2,2,1,""],DYE_VAT:[2,2,1,""],DYNASTY_WOOD:[2,2,1,""],EBONSAND:[2,2,1,""],EBONSTONE:[2,2,1,""],EBONSTONE_BRICK:[2,2,1,""],EBONWOOD:[2,2,1,""],ELDER_CRYSTAL_STAND:[2,2,1,""],EMERALD:[2,2,1,""],EMERALD_GEMSPARK:[2,2,1,""],EMERALD_GEMSPARK_OFF:[2,2,1,""],EXPLOSIVES:[2,2,1,""],EXPOSED_GEMS:[2,2,1,""],EXTRACTINATOR:[2,2,1,""],FAKE_CONTAINERS2:[2,2,1,""],FAKE_CONTAINERS:[2,2,1,""],FIREFLYINA_BOTTLE:[2,2,1,""],FIREPLACE:[2,2,1,""],FIREWORK:[2,2,1,""],FIREWORKS_BOX:[2,2,1,""],FIREWORK_FOUNTAIN:[2,2,1,""],FISHING_CRATE:[2,2,1,""],FISH_BOWL:[2,2,1,""],FLESH_BLOCK:[2,2,1,""],FLESH_CLONING_VAT:[2,2,1,""],FLESH_GRASS:[2,2,1,""],FLESH_ICE:[2,2,1,""],FLESH_WEEDS:[2,2,1,""],FOSSIL_ORE:[2,2,1,""],FROG_CAGE:[2,2,1,""],FROZEN_SLIME_BLOCK:[2,2,1,""],FURNACES:[2,2,1,""],GEM_LOCKS:[2,2,1,""],GEYSER_TRAP:[2,2,1,""],GLASS:[2,2,1,""],GLASS_KILN:[2,2,1,""],GLOWING_SNAIL_CAGE:[2,2,1,""],GOLD:[2,2,1,""],GOLD_BIRD_CAGE:[2,2,1,""],GOLD_BRICK:[2,2,1,""],GOLD_BUNNY_CAGE:[2,2,1,""],GOLD_BUTTERFLY_CAGE:[2,2,1,""],GOLD_COIN_PILE:[2,2,1,""],GOLD_FROG_CAGE:[2,2,1,""],GOLD_GRASSHOPPER_CAGE:[2,2,1,""],GOLD_MOUSE_CAGE:[2,2,1,""],GOLD_WORM_CAGE:[2,2,1,""],GRANDFATHER_CLOCKS:[2,2,1,""],GRANITE:[2,2,1,""],GRANITE_BLOCK:[2,2,1,""],GRASS:[2,2,1,""],GRASSHOPPER_CAGE:[2,2,1,""],GRAY_BRICK:[2,2,1,""],GRAY_STUCCO:[2,2,1,""],GREEN_CANDY_CANE_BLOCK:[2,2,1,""],GREEN_DUNGEON_BRICK:[2,2,1,""],GREEN_JELLYFISH_BOWL:[2,2,1,""],GREEN_MOSS:[2,2,1,""],GREEN_STUCCO:[2,2,1,""],HALLOWED_GRASS:[2,2,1,""],HALLOWED_ICE:[2,2,1,""],HALLOWED_PLANTS2:[2,2,1,""],HALLOWED_PLANTS:[2,2,1,""],HALLOWED_VINES:[2,2,1,""],HALLOW_HARDENED_SAND:[2,2,1,""],HALLOW_SANDSTONE:[2,2,1,""],HANGING_LANTERNS:[2,2,1,""],HARDENED_SAND:[2,2,1,""],HAY_BLOCK:[2,2,1,""],HEART:[2,2,1,""],HEAVY_WORK_BENCH:[2,2,1,""],HELLFORGE:[2,2,1,""],HELLSTONE:[2,2,1,""],HELLSTONE_BRICK:[2,2,1,""],HIVE:[2,2,1,""],HOLIDAY_LIGHTS:[2,2,1,""],HONEYFALL:[2,2,1,""],HONEY_BLOCK:[2,2,1,""],HONEY_DISPENSER:[2,2,1,""],HONEY_DRIP:[2,2,1,""],ICE_BLOCK:[2,2,1,""],ICE_BRICK:[2,2,1,""],ICE_MACHINE:[2,2,1,""],IMBUING_STATION:[2,2,1,""],IMMATURE_HERBS:[2,2,1,""],INACTIVE_STONE_BLOCK:[2,2,1,""],INLET_PUMP:[2,2,1,""],IRIDESCENT_BRICK:[2,2,1,""],IRON:[2,2,1,""],ITEM_FRAME:[2,2,1,""],JACKOLANTERNS:[2,2,1,""],JULIA_BUTTERFLY_JAR:[2,2,1,""],JUNGLE_GRASS:[2,2,1,""],JUNGLE_PLANTS2:[2,2,1,""],JUNGLE_PLANTS:[2,2,1,""],JUNGLE_THORNS:[2,2,1,""],JUNGLE_VINES:[2,2,1,""],KEGS:[2,2,1,""],LAMPPOSTS:[2,2,1,""],LAMPS:[2,2,1,""],LAND_MINE:[2,2,1,""],LARGE_PILES2:[2,2,1,""],LARGE_PILES:[2,2,1,""],LARVA:[2,2,1,""],LAVAFALL:[2,2,1,""],LAVA_DRIP:[2,2,1,""],LAVA_LAMP:[2,2,1,""],LAVA_MOSS:[2,2,1,""],LEAD:[2,2,1,""],LEAF_BLOCK:[2,2,1,""],LEVER:[2,2,1,""],LIFE_FRUIT:[2,2,1,""],LIGHTNING_BUGINA_BOTTLE:[2,2,1,""],LIHZAHRD_ALTAR:[2,2,1,""],LIHZAHRD_BRICK:[2,2,1,""],LIHZAHRD_FURNACE:[2,2,1,""],LIVING_CURSED_FIRE:[2,2,1,""],LIVING_DEMON_FIRE:[2,2,1,""],LIVING_FIRE:[2,2,1,""],LIVING_FROST_FIRE:[2,2,1,""],LIVING_ICHOR:[2,2,1,""],LIVING_LOOM:[2,2,1,""],LIVING_MAHOGANY:[2,2,1,""],LIVING_MAHOGANY_LEAVES:[2,2,1,""],LIVING_ULTRABRIGHT_FIRE:[2,2,1,""],LIVING_WOOD:[2,2,1,""],LOGIC_GATE:[2,2,1,""],LOGIC_GATE_LAMP:[2,2,1,""],LOGIC_SENSOR:[2,2,1,""],LONG_MOSS:[2,2,1,""],LOOM:[2,2,1,""],LUNAR_BLOCK_NEBULA:[2,2,1,""],LUNAR_BLOCK_SOLAR:[2,2,1,""],LUNAR_BLOCK_STARDUST:[2,2,1,""],LUNAR_BLOCK_VORTEX:[2,2,1,""],LUNAR_BRICK:[2,2,1,""],LUNAR_CRAFTING_STATION:[2,2,1,""],LUNAR_MONOLITH:[2,2,1,""],LUNAR_ORE:[2,2,1,""],MAGICAL_ICE_BLOCK:[2,2,1,""],MALLARD_DUCK_CAGE:[2,2,1,""],MANNEQUIN:[2,2,1,""],MARBLE:[2,2,1,""],MARBLE_BLOCK:[2,2,1,""],MARTIAN_CONDUIT_PLATING:[2,2,1,""],MATURE_HERBS:[2,2,1,""],MEAT_GRINDER:[2,2,1,""],METAL_BARS:[2,2,1,""],METEORITE:[2,2,1,""],METEORITE_BRICK:[2,2,1,""],MINECART_TRACK:[2,2,1,""],MONARCH_BUTTERFLY_JAR:[2,2,1,""],MOUSE_CAGE:[2,2,1,""],MUD:[2,2,1,""],MUDSTONE:[2,2,1,""],MUSHROOM_BLOCK:[2,2,1,""],MUSHROOM_GRASS:[2,2,1,""],MUSHROOM_PLANTS:[2,2,1,""],MUSHROOM_STATUE:[2,2,1,""],MUSHROOM_TREES:[2,2,1,""],MUSIC_BOXES:[2,2,1,""],MYTHRIL:[2,2,1,""],MYTHRIL_ANVIL:[2,2,1,""],MYTHRIL_BRICK:[2,2,1,""],OBSIDIAN:[2,2,1,""],OBSIDIAN_BRICK:[2,2,1,""],OPEN_DOOR:[2,2,1,""],ORICHALCUM:[2,2,1,""],OUTLET_PUMP:[2,2,1,""],PAINTING2X3:[2,2,1,""],PAINTING3X2:[2,2,1,""],PAINTING3X3:[2,2,1,""],PAINTING4X3:[2,2,1,""],PAINTING6X4:[2,2,1,""],PALLADIUM:[2,2,1,""],PALLADIUM_COLUMN:[2,2,1,""],PALM_TREE:[2,2,1,""],PALM_WOOD:[2,2,1,""],PARTY_BUNDLE_OF_BALLOON_TILE:[2,2,1,""],PARTY_MONOLITH:[2,2,1,""],PARTY_PRESENT:[2,2,1,""],PEACE_CANDLE:[2,2,1,""],PEARLSAND:[2,2,1,""],PEARLSTONE:[2,2,1,""],PEARLSTONE_BRICK:[2,2,1,""],PEARLWOOD:[2,2,1,""],PENGUIN_CAGE:[2,2,1,""],PIANOS:[2,2,1,""],PIGGY_BANK:[2,2,1,""],PIGRONATA:[2,2,1,""],PINE_TREE:[2,2,1,""],PINK_DUNGEON_BRICK:[2,2,1,""],PINK_JELLYFISH_BOWL:[2,2,1,""],PINK_SLIME_BLOCK:[2,2,1,""],PIXEL_BOX:[2,2,1,""],PLANTERA_BULB:[2,2,1,""],PLANTER_BOX:[2,2,1,""],PLANTS2:[2,2,1,""],PLANTS:[2,2,1,""],PLANT_DETRITUS:[2,2,1,""],PLATFORMS:[2,2,1,""],PLATINUM:[2,2,1,""],PLATINUM_BRICK:[2,2,1,""],PLATINUM_CANDELABRA:[2,2,1,""],PLATINUM_CANDLE:[2,2,1,""],PLATINUM_COIN_PILE:[2,2,1,""],POTS:[2,2,1,""],PRESENTS:[2,2,1,""],PRESSURE_PLATES:[2,2,1,""],PROJECTILE_PRESSURE_PAD:[2,2,1,""],PUMPKINS:[2,2,1,""],PUMPKIN_BLOCK:[2,2,1,""],PURPLE_EMPEROR_BUTTERFLY_JAR:[2,2,1,""],PURPLE_MOSS:[2,2,1,""],RAINBOW_BRICK:[2,2,1,""],RAIN_CLOUD:[2,2,1,""],RED_ADMIRAL_BUTTERFLY_JAR:[2,2,1,""],RED_BRICK:[2,2,1,""],RED_DYNASTY_SHINGLES:[2,2,1,""],RED_MOSS:[2,2,1,""],RED_STUCCO:[2,2,1,""],RICH_MAHOGANY:[2,2,1,""],ROPE:[2,2,1,""],RUBY:[2,2,1,""],RUBY_GEMSPARK:[2,2,1,""],RUBY_GEMSPARK_OFF:[2,2,1,""],SAFES:[2,2,1,""],SAND:[2,2,1,""],SANDSTONE:[2,2,1,""],SANDSTONE_BRICK:[2,2,1,""],SAND_DRIP:[2,2,1,""],SAND_FALL_BLOCK:[2,2,1,""],SAND_STONE_SLAB:[2,2,1,""],SAPLINGS:[2,2,1,""],SAPPHIRE:[2,2,1,""],SAPPHIRE_GEMSPARK:[2,2,1,""],SAPPHIRE_GEMSPARK_OFF:[2,2,1,""],SAWMILL:[2,2,1,""],SCORPION_CAGE:[2,2,1,""],SEAWEED_PLANTER:[2,2,1,""],SHADEWOOD:[2,2,1,""],SHADOW_ORBS:[2,2,1,""],SHARPENING_STATION:[2,2,1,""],SHIP_IN_ABOTTLE:[2,2,1,""],SHROOMITE_PLATING:[2,2,1,""],SIGNS:[2,2,1,""],SILK_ROPE:[2,2,1,""],SILLY_BALLOON_GREEN:[2,2,1,""],SILLY_BALLOON_MACHINE:[2,2,1,""],SILLY_BALLOON_PINK:[2,2,1,""],SILLY_BALLOON_PURPLE:[2,2,1,""],SILLY_BALLOON_TILE:[2,2,1,""],SILLY_STREAMER_BLUE:[2,2,1,""],SILLY_STREAMER_GREEN:[2,2,1,""],SILLY_STREAMER_PINK:[2,2,1,""],SILT:[2,2,1,""],SILVER:[2,2,1,""],SILVER_BRICK:[2,2,1,""],SILVER_COIN_PILE:[2,2,1,""],SINKS:[2,2,1,""],SKULL_LANTERNS:[2,2,1,""],SKY_MILL:[2,2,1,""],SLIME_BLOCK:[2,2,1,""],SLUSH:[2,2,1,""],SMALL_PILES:[2,2,1,""],SNAIL_CAGE:[2,2,1,""],SNOWBALL_LAUNCHER:[2,2,1,""],SNOW_BLOCK:[2,2,1,""],SNOW_BRICK:[2,2,1,""],SNOW_CLOUD:[2,2,1,""],SNOW_FALL_BLOCK:[2,2,1,""],SOLIDIFIER:[2,2,1,""],SPIKES:[2,2,1,""],SPOOKY_WOOD:[2,2,1,""],SQUIRREL_CAGE:[2,2,1,""],SQUIRREL_GOLD_CAGE:[2,2,1,""],SQUIRREL_ORANGE_CAGE:[2,2,1,""],STALACTITE:[2,2,1,""],STATUES:[2,2,1,""],STEAMPUNK_BOILER:[2,2,1,""],STONE:[2,2,1,""],STONE_SLAB:[2,2,1,""],SULPHUR_BUTTERFLY_JAR:[2,2,1,""],SUNDIAL:[2,2,1,""],SUNFLOWER:[2,2,1,""],SUNPLATE:[2,2,1,""],SWITCHES:[2,2,1,""],TABLES2:[2,2,1,""],TABLES:[2,2,1,""],TALL_GATE_CLOSED:[2,2,1,""],TALL_GATE_OPEN:[2,2,1,""],TARGET_DUMMY:[2,2,1,""],TEAM_BLOCK_BLUE:[2,2,1,""],TEAM_BLOCK_BLUE_PLATFORM:[2,2,1,""],TEAM_BLOCK_GREEN:[2,2,1,""],TEAM_BLOCK_GREEN_PLATFORM:[2,2,1,""],TEAM_BLOCK_PINK:[2,2,1,""],TEAM_BLOCK_PINK_PLATFORM:[2,2,1,""],TEAM_BLOCK_RED:[2,2,1,""],TEAM_BLOCK_RED_PLATFORM:[2,2,1,""],TEAM_BLOCK_WHITE:[2,2,1,""],TEAM_BLOCK_WHITE_PLATFORM:[2,2,1,""],TEAM_BLOCK_YELLOW:[2,2,1,""],TEAM_BLOCK_YELLOW_PLATFORM:[2,2,1,""],TELEPORTER:[2,2,1,""],THRONES:[2,2,1,""],TIMERS:[2,2,1,""],TIN:[2,2,1,""],TINKERERS_WORKBENCH:[2,2,1,""],TIN_BRICK:[2,2,1,""],TIN_PLATING:[2,2,1,""],TITANIUM:[2,2,1,""],TITANSTONE:[2,2,1,""],TOMBSTONES:[2,2,1,""],TOPAZ:[2,2,1,""],TOPAZ_GEMSPARK:[2,2,1,""],TOPAZ_GEMSPARK_OFF:[2,2,1,""],TORCHES:[2,2,1,""],TRAPDOOR_CLOSED:[2,2,1,""],TRAPDOOR_OPEN:[2,2,1,""],TRAPS:[2,2,1,""],TRASH_CAN:[2,2,1,""],TREES:[2,2,1,""],TREE_NYMPH_BUTTERFLY_JAR:[2,2,1,""],TUNGSTEN:[2,2,1,""],TUNGSTEN_BRICK:[2,2,1,""],ULYSSES_BUTTERFLY_JAR:[2,2,1,""],VINES:[2,2,1,""],VINE_FLOWERS:[2,2,1,""],VINE_ROPE:[2,2,1,""],WAR_TABLE:[2,2,1,""],WAR_TABLE_BANNER:[2,2,1,""],WATERFALL:[2,2,1,""],WATER_CANDLE:[2,2,1,""],WATER_DRIP:[2,2,1,""],WATER_FOUNTAIN:[2,2,1,""],WEAPONS_RACK:[2,2,1,""],WEB_ROPE:[2,2,1,""],WEIGHTED_PRESSURE_PLATE:[2,2,1,""],WIRE_BULB:[2,2,1,""],WIRE_PIPE:[2,2,1,""],WOMANNEQUIN:[2,2,1,""],WOODEN_BEAM:[2,2,1,""],WOODEN_SPIKES:[2,2,1,""],WOOD_BLOCK:[2,2,1,""],WORK_BENCHES:[2,2,1,""],WORM_CAGE:[2,2,1,""],YELLOW_STUCCO:[2,2,1,""],ZEBRA_SWALLOWTAIL_BUTTERFLY_JAR:[2,2,1,""]},"lihzahrd.tiles.FrameImportantData":{frame_x:[2,2,1,""],frame_y:[2,2,1,""]},"lihzahrd.tiles.Liquid":{type:[2,2,1,""],volume:[2,2,1,""]},"lihzahrd.tiles.LiquidType":{HONEY:[2,2,1,""],LAVA:[2,2,1,""],NO_LIQUID:[2,2,1,""],WATER:[2,2,1,""],from_flags:[2,2,1,""]},"lihzahrd.tiles.RLEEncoding":{DOUBLE_BYTE:[2,2,1,""],NO_COMPRESSION:[2,2,1,""],SINGLE_BYTE:[2,2,1,""],from_flags:[2,2,1,""]},"lihzahrd.tiles.Shape":{BOTTOM_LEFT_SLOPE:[2,2,1,""],BOTTOM_RIGHT_SLOPE:[2,2,1,""],HALF_TILE:[2,2,1,""],NORMAL:[2,2,1,""],TOP_LEFT_SLOPE:[2,2,1,""],TOP_RIGHT_SLOPE:[2,2,1,""],from_flags:[2,2,1,""]},"lihzahrd.tiles.Tile":{block:[2,2,1,""],liquid:[2,2,1,""],wall:[2,2,1,""],wiring:[2,2,1,""]},"lihzahrd.tiles.Wall":{paint:[2,2,1,""],type:[2,2,1,""]},"lihzahrd.tiles.WallType":{ADAMANTITE_BEAM:[2,2,1,""],AMBER_GEMSPARK:[2,2,1,""],AMBER_GEMSPARK_OFF:[2,2,1,""],AMETHYST_GEMSPARK:[2,2,1,""],AMETHYST_GEMSPARK_OFF:[2,2,1,""],AMETHYST_UNSAFE:[2,2,1,""],ARCANE_RUNES:[2,2,1,""],BLUEGREEN_WALLPAPER:[2,2,1,""],BLUE_DUNGEON:[2,2,1,""],BLUE_DUNGEON_SLAB:[2,2,1,""],BLUE_DUNGEON_SLAB_UNSAFE:[2,2,1,""],BLUE_DUNGEON_TILE:[2,2,1,""],BLUE_DUNGEON_TILE_UNSAFE:[2,2,1,""],BLUE_DUNGEON_UNSAFE:[2,2,1,""],BLUE_DYNASTY:[2,2,1,""],BLUE_STAINED_GLASS:[2,2,1,""],BONE:[2,2,1,""],BOREAL_WOOD:[2,2,1,""],BOREAL_WOOD_FENCE:[2,2,1,""],BUBBLEGUM_BLOCK:[2,2,1,""],BUBBLE_WALLPAPER:[2,2,1,""],CACTUS:[2,2,1,""],CANDY_CANE:[2,2,1,""],CANDY_CANE_WALLPAPER:[2,2,1,""],CAVE2UNSAFE:[2,2,1,""],CAVE3UNSAFE:[2,2,1,""],CAVE4UNSAFE:[2,2,1,""],CAVE5UNSAFE:[2,2,1,""],CAVE6UNSAFE:[2,2,1,""],CAVE7UNSAFE:[2,2,1,""],CAVE8UNSAFE:[2,2,1,""],CAVE_UNSAFE:[2,2,1,""],CAVE_WALL2:[2,2,1,""],CAVE_WALL:[2,2,1,""],CHLOROPHYTE_BRICK:[2,2,1,""],CHRISTMAS_TREE_WALLPAPER:[2,2,1,""],CLOUD:[2,2,1,""],COBALT_BRICK:[2,2,1,""],COG_WALL:[2,2,1,""],CONFETTI:[2,2,1,""],CONFETTI_BLACK:[2,2,1,""],COPPER_BRICK:[2,2,1,""],COPPER_PIPE_WALLPAPER:[2,2,1,""],COPPER_PLATING:[2,2,1,""],CORRUPTION_UNSAFE1:[2,2,1,""],CORRUPTION_UNSAFE2:[2,2,1,""],CORRUPTION_UNSAFE3:[2,2,1,""],CORRUPTION_UNSAFE4:[2,2,1,""],CORRUPT_GRASS_UNSAFE:[2,2,1,""],CORRUPT_HARDENED_SAND:[2,2,1,""],CORRUPT_SANDSTONE:[2,2,1,""],CRIMSON_GRASS_UNSAFE:[2,2,1,""],CRIMSON_HARDENED_SAND:[2,2,1,""],CRIMSON_SANDSTONE:[2,2,1,""],CRIMSON_UNSAFE1:[2,2,1,""],CRIMSON_UNSAFE2:[2,2,1,""],CRIMSON_UNSAFE3:[2,2,1,""],CRIMSON_UNSAFE4:[2,2,1,""],CRIMSTONE_UNSAFE:[2,2,1,""],CRIMTANE_BRICK:[2,2,1,""],CRYSTAL:[2,2,1,""],DEMONITE_BRICK:[2,2,1,""],DESERT_FOSSIL:[2,2,1,""],DIAMOND_GEMSPARK:[2,2,1,""],DIAMOND_GEMSPARK_OFF:[2,2,1,""],DIAMOND_UNSAFE:[2,2,1,""],DIRT:[2,2,1,""],DIRT_UNSAFE1:[2,2,1,""],DIRT_UNSAFE2:[2,2,1,""],DIRT_UNSAFE3:[2,2,1,""],DIRT_UNSAFE4:[2,2,1,""],DIRT_UNSAFE:[2,2,1,""],DISC_WALL:[2,2,1,""],DUCKY_WALLPAPER:[2,2,1,""],EBONSTONE_BRICK:[2,2,1,""],EBONSTONE_UNSAFE:[2,2,1,""],EBONWOOD:[2,2,1,""],EBONWOOD_FENCE:[2,2,1,""],EMERALD_GEMSPARK:[2,2,1,""],EMERALD_GEMSPARK_OFF:[2,2,1,""],EMERALD_UNSAFE:[2,2,1,""],FANCY_GRAY_WALLPAPER:[2,2,1,""],FESTIVE_WALLPAPER:[2,2,1,""],FLESH:[2,2,1,""],FLOWER:[2,2,1,""],FLOWER_UNSAFE:[2,2,1,""],GLASS:[2,2,1,""],GOLD_BRICK:[2,2,1,""],GRANITE:[2,2,1,""],GRANITE_BLOCK:[2,2,1,""],GRANITE_UNSAFE:[2,2,1,""],GRASS:[2,2,1,""],GRASS_UNSAFE:[2,2,1,""],GRAY:[2,2,1,""],GRAY_BRICK:[2,2,1,""],GREEN_CANDY_CANE:[2,2,1,""],GREEN_DUNGEON:[2,2,1,""],GREEN_DUNGEON_SLAB:[2,2,1,""],GREEN_DUNGEON_SLAB_UNSAFE:[2,2,1,""],GREEN_DUNGEON_TILE:[2,2,1,""],GREEN_DUNGEON_TILE_UNSAFE:[2,2,1,""],GREEN_DUNGEON_UNSAFE:[2,2,1,""],GREEN_STAINED_GLASS:[2,2,1,""],GREEN_STUCCO:[2,2,1,""],GRINCH_FINGER_WALLPAPER:[2,2,1,""],HALLOWED_GRASS_UNSAFE:[2,2,1,""],HALLOW_HARDENED_SAND:[2,2,1,""],HALLOW_SANDSTONE:[2,2,1,""],HALLOW_UNSAFE1:[2,2,1,""],HALLOW_UNSAFE2:[2,2,1,""],HALLOW_UNSAFE3:[2,2,1,""],HALLOW_UNSAFE4:[2,2,1,""],HARDENED_SAND:[2,2,1,""],HAY:[2,2,1,""],HELLSTONE_BRICK:[2,2,1,""],HELLSTONE_BRICK_UNSAFE:[2,2,1,""],HIVE:[2,2,1,""],HIVE_UNSAFE:[2,2,1,""],HONEYFALL:[2,2,1,""],ICE_BRICK:[2,2,1,""],ICE_FLOE_WALLPAPER:[2,2,1,""],ICE_UNSAFE:[2,2,1,""],IRIDESCENT_BRICK:[2,2,1,""],IRON_FENCE:[2,2,1,""],JUNGLE:[2,2,1,""],JUNGLE_UNSAFE1:[2,2,1,""],JUNGLE_UNSAFE2:[2,2,1,""],JUNGLE_UNSAFE3:[2,2,1,""],JUNGLE_UNSAFE4:[2,2,1,""],JUNGLE_UNSAFE:[2,2,1,""],KRAMPUS_HORN_WALLPAPER:[2,2,1,""],LAVAFALL:[2,2,1,""],LAVA_UNSAFE1:[2,2,1,""],LAVA_UNSAFE2:[2,2,1,""],LAVA_UNSAFE3:[2,2,1,""],LAVA_UNSAFE4:[2,2,1,""],LIHZAHRD_BRICK:[2,2,1,""],LIHZAHRD_BRICK_UNSAFE:[2,2,1,""],LIVING_LEAF:[2,2,1,""],LIVING_WOOD:[2,2,1,""],LUNAR_BRICK_WALL:[2,2,1,""],MARBLE:[2,2,1,""],MARBLE_BLOCK:[2,2,1,""],MARBLE_UNSAFE:[2,2,1,""],MARTIAN_CONDUIT:[2,2,1,""],METAL_FENCE:[2,2,1,""],METEORITE_BRICK:[2,2,1,""],MUDSTONE_BRICK:[2,2,1,""],MUD_UNSAFE:[2,2,1,""],MUSHROOM:[2,2,1,""],MUSHROOM_UNSAFE:[2,2,1,""],MUSIC_WALLPAPER:[2,2,1,""],MYTHRIL_BRICK:[2,2,1,""],OBSIDIAN_BACK_UNSAFE:[2,2,1,""],OBSIDIAN_BRICK:[2,2,1,""],OBSIDIAN_BRICK_UNSAFE:[2,2,1,""],ORNAMENT_WALLPAPER:[2,2,1,""],PALLADIUM_COLUMN:[2,2,1,""],PALM_WOOD:[2,2,1,""],PALM_WOOD_FENCE:[2,2,1,""],PEARLSTONE_BRICK:[2,2,1,""],PEARLSTONE_BRICK_UNSAFE:[2,2,1,""],PEARLWOOD:[2,2,1,""],PEARLWOOD_FENCE:[2,2,1,""],PINK_DUNGEON:[2,2,1,""],PINK_DUNGEON_SLAB:[2,2,1,""],PINK_DUNGEON_SLAB_UNSAFE:[2,2,1,""],PINK_DUNGEON_TILE:[2,2,1,""],PINK_DUNGEON_TILE_UNSAFE:[2,2,1,""],PINK_DUNGEON_UNSAFE:[2,2,1,""],PLANKED:[2,2,1,""],PLATINUM_BRICK:[2,2,1,""],PUMPKIN:[2,2,1,""],PURPLE_RAIN_WALLPAPER:[2,2,1,""],PURPLE_STAINED_GLASS:[2,2,1,""],RAINBOW_BRICK:[2,2,1,""],RAINBOW_STAINED_GLASS:[2,2,1,""],RAINBOW_WALLPAPER:[2,2,1,""],RED_BRICK:[2,2,1,""],RED_STAINED_GLASS:[2,2,1,""],RED_STUCCO:[2,2,1,""],RICH_MAHOGANY_FENCE:[2,2,1,""],RICH_MAOGANY:[2,2,1,""],ROCKS_UNSAFE1:[2,2,1,""],ROCKS_UNSAFE2:[2,2,1,""],ROCKS_UNSAFE3:[2,2,1,""],ROCKS_UNSAFE4:[2,2,1,""],RUBY_GEMSPARK:[2,2,1,""],RUBY_GEMSPARK_OFF:[2,2,1,""],RUBY_UNSAFE:[2,2,1,""],SAIL:[2,2,1,""],SANDSTONE:[2,2,1,""],SANDSTONE_BRICK:[2,2,1,""],SAND_FALL:[2,2,1,""],SAPPHIRE_GEMSPARK:[2,2,1,""],SAPPHIRE_GEMSPARK_OFF:[2,2,1,""],SAPPHIRE_UNSAFE:[2,2,1,""],SHADEWOOD:[2,2,1,""],SHADEWOOD_FENCE:[2,2,1,""],SHROOMITE_PLATING:[2,2,1,""],SILLY_BALLOON_GREEN_WALL:[2,2,1,""],SILLY_BALLOON_PINK_WALL:[2,2,1,""],SILLY_BALLOON_PURPLE_WALL:[2,2,1,""],SILVER_BRICK:[2,2,1,""],SLIME:[2,2,1,""],SNOWFLAKE_WALLPAPER:[2,2,1,""],SNOW_BRICK:[2,2,1,""],SNOW_FALL:[2,2,1,""],SNOW_WALL_UNSAFE:[2,2,1,""],SPARKLE_STONE_WALLPAPER:[2,2,1,""],SPIDER_UNSAFE:[2,2,1,""],SPOOKY_WOOD:[2,2,1,""],SQUIGGLES_WALLPAPER:[2,2,1,""],STARLIT_HEAVEN_WALLPAPER:[2,2,1,""],STARS_WALLPAPER:[2,2,1,""],STONE:[2,2,1,""],STONE_SLAB:[2,2,1,""],TIN_BRICK:[2,2,1,""],TIN_PLATING:[2,2,1,""],TITANSTONE_BLOCK:[2,2,1,""],TOPAZ_GEMSPARK:[2,2,1,""],TOPAZ_GEMSPARK_OFF:[2,2,1,""],TOPAZ_UNSAFE:[2,2,1,""],TUNGSTEN_BRICK:[2,2,1,""],WATERFALL:[2,2,1,""],WHITE_DYNASTY:[2,2,1,""],WOOD:[2,2,1,""],WOODEN_FENCE:[2,2,1,""],YELLOW_STAINED_GLASS:[2,2,1,""],YELLOW_STUCCO:[2,2,1,""]},"lihzahrd.tiles.Wiring":{actuator:[2,2,1,""],blue:[2,2,1,""],green:[2,2,1,""],red:[2,2,1,""],yellow:[2,2,1,""]},lihzahrd:{World:[3,0,1,""],header:[0,3,0,"-"],tiles:[2,3,0,"-"]}},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"],"2":["py","attribute","Python attribute"],"3":["py","module","Python module"]},objtypes:{"0":"py:class","1":"py:method","2":"py:attribute","3":"py:module"},terms:{"byte":2,"class":[0,2,3],"enum":2,"float":[0,3],"int":[0,2,3],"long":0,"static":3,"switch":2,"true":[0,2],"while":2,IDs:[0,2],The:[0,2,3],Used:3,_read_til:3,_version_id:0,about:[0,3],activ:0,active_stone_block:2,actual:0,actuat:2,adamantit:[0,2],adamantite_beam:2,adamantite_forg:2,alchemy_t:2,all:[0,2,3],alphabet_statu:2,altar:[0,3],altars_smash:3,altarssmash:[0,3],alwai:3,amanitia_fungifin:0,amber_gemspark:2,amber_gemspark_off:2,amethyst:2,amethyst_gemspark:2,amethyst_gemspark_off:2,amethyst_unsaf:2,ammo_box:2,angelfish:0,angler:[0,3],anglerquest:[0,3],anglerquestfish:0,anglers_quest:3,ani:0,announcement_box:2,anvil:2,any_mechnical_boss:0,appear:0,arcane_run:2,are_act:0,aren:2,armi:0,ash:2,asphalt:2,associ:0,autohamm:2,background:[0,3],banner:2,bartend:0,batfish:0,bathtub:2,beach_pil:2,beat:0,becaus:2,bed:2,bee_hiv:2,been:[0,2,3],bench:2,between:0,bewitching_t:2,bg_cloud:0,bg_corrupt:0,bg_crimson:0,bg_desert:0,bg_forest:0,bg_hallow:0,bg_hell:0,bg_jungl:0,bg_ocean:0,bg_snow:0,bg_underground_jungl:0,bg_underground_snow:0,biom:[0,3],bird_cag:2,black_scorpion_cag:2,blendomat:2,block:2,blocktyp:2,blood:0,blood_moon:0,bloody_manowar:0,blooming_herb:2,blue:2,blue_dungeon:2,blue_dungeon_brick:2,blue_dungeon_slab:2,blue_dungeon_slab_unsaf:2,blue_dungeon_til:2,blue_dungeon_tile_unsaf:2,blue_dungeon_unsaf:2,blue_dynasti:2,blue_dynasty_shingl:2,blue_jai:2,blue_jellyfish_bowl:2,blue_moss:2,blue_stained_glass:2,bluegreen_wallpap:2,bone:2,bone_block:2,bone_weld:2,bonefish:0,book:2,bookcas:2,bool:[0,2,3],boreal_wood:2,boreal_wood_f:2,boss:[0,3],bosses_def:3,bossesdef:[0,3],bottl:2,bottom_left_slop:2,bottom_right_slop:2,boulder:2,bound:[2,3],bowl:2,breakable_ic:2,broken:0,brown_moss:2,bubbl:2,bubble_machin:2,bubble_wallpap:2,bubblegum_block:2,bumblebee_tuna:0,bunny_cag:2,bunnyfish:0,cactu:2,cactus_block:2,cage_buggi:2,cage_enchanted_nightcrawl:2,cage_grubbi:2,cage_sluggi:2,campfir:2,can:[0,2],candelabra:2,candl:2,candy_can:2,candy_cane_block:2,candy_cane_wallpap:2,cannon:2,cannot:0,capn_tunabeard:0,cardinal_cag:2,catfish:0,cave2unsaf:2,cave3unsaf:2,cave4unsaf:2,cave5unsaf:2,cave6unsaf:2,cave7unsaf:2,cave8unsaf:2,cave_unsaf:2,cave_wal:2,cave_wall2:2,cavern:3,cavern_level:3,center:0,certain:[0,2],chain:2,chair:2,chandeli:2,chimnei:2,chimney_smok:2,chinese_lantern:2,chlorophyt:2,chlorophyte_brick:2,christmas_tre:2,christmas_tree_wallpap:2,classmethod:3,clay_block:2,clay_pot:2,click:0,closed_door:2,cloud:[0,2,3],cloud_numb:0,cloudfish:0,clown:0,clownfish:0,cobalt:[0,2],cobalt_brick:2,cobweb:2,cog:2,cog_wal:2,color:2,com:2,complet:0,completed_bi:0,compos:2,compress:2,confetti:2,confetti_black:2,contain:[0,2],containers2:2,continu:0,conveyor_belt_left:2,conveyor_belt_right:2,cooking_pot:2,cooldown:0,coordin:[0,3],copper:2,copper_brick:2,copper_coin_pil:2,copper_pipe_wallpap:2,copper_pl:2,coral:2,coralston:2,corner:2,corrupt:[0,3],corrupt_grass:2,corrupt_grass_unsaf:2,corrupt_hardened_sand:2,corrupt_ic:2,corrupt_pl:2,corrupt_sandston:2,corrupt_thorn:2,corruption_unsafe1:2,corruption_unsafe2:2,corruption_unsafe3:2,corruption_unsafe4:2,count:[0,2],creat:[0,3],create_from_fil:3,created_on:3,creation:3,crimsand:2,crimson:[0,3],crimson_grass_unsaf:2,crimson_hardened_sand:2,crimson_heart:3,crimson_sandston:2,crimson_unsafe1:2,crimson_unsafe2:2,crimson_unsafe3:2,crimson_unsafe4:2,crimson_vin:2,crimston:2,crimstone_unsaf:2,crimtan:2,crimtane_brick:2,crimtane_thorn:2,crispy_honey_block:2,crystal:2,crystal_bal:2,crystal_block:2,cultist_delai:3,current:[0,3],current_go:0,cursedfish:0,dai:0,data:[0,2],date:3,defeat:3,defenders_forg:2,delai:0,demon:3,demon_altar:2,demonic_hellfish:0,demonit:2,demonite_brick:2,depth:3,derpfish:0,desert:0,desert_fossil:2,destruct:3,deton:2,diamond:2,diamond_gemspark:2,diamond_gemspark_off:2,diamond_unsaf:2,differ:0,direct:2,dirt:2,dirt_unsaf:2,dirt_unsafe1:2,dirt_unsafe2:2,dirt_unsafe3:2,dirt_unsafe4:2,dirtfish:0,disc_wal:2,disco_bal:2,djinn_lamp:2,doesn:3,double_byt:2,dresser:2,duck_cag:2,ducky_wallpap:2,duke_fishron:0,dungeon_point:3,dye_plant:2,dye_vat:2,dynamite_fish:0,dynasty_wood:2,eater:0,eater_of_plankton:0,eater_of_world:0,ebonsand:2,ebonston:2,ebonstone_brick:2,ebonstone_unsaf:2,ebonwood:2,ebonwood_f:2,eclips:0,edg:0,elder_crystal_stand:2,element:[0,3],emerald:2,emerald_gemspark:2,emerald_gemspark_off:2,emerald_unsaf:2,enchant:0,encod:2,enumer:0,event:[0,3],ever:0,everscream:0,evil_boss_count:0,expert:3,explos:2,exposed_gem:2,extractin:2,eye_of_cthulhu:0,fake_contain:2,fake_containers2:2,fallen_starfish:0,fals:[0,2],fancy_gray_wallpap:2,far:0,far_left:0,far_right:0,fast_forward_tim:0,favorit:3,festive_wallpap:2,file:[2,3],filenam:3,fileread:3,fileutil:3,fireflyina_bottl:2,fireplac:2,firework:2,firework_fountain:2,fireworks_box:2,first:0,first_quart:0,fish:0,fish_bowl:2,fishing_cr:2,fishotron:0,fishron:0,flag:0,flesh:2,flesh_block:2,flesh_cloning_vat:2,flesh_grass:2,flesh_ic:2,flesh_we:2,flower:2,flower_unsaf:2,follow:3,format:3,fossil_or:2,four:0,fourpartsplit:0,frame:2,frame_i:2,frame_x:2,framedata:2,frameimport:2,frameimportantdata:2,frog_cag:2,from:[2,3],from_flag:2,frost_legion:0,frost_moon:0,frozen_slime_block:2,full:2,full_moon:0,furnac:2,game:[0,3],gem_lock:2,gener:[0,3],generatorinfo:[0,3],get_property_at_x:0,geyser_trap:2,github:[1,2],given:[2,3],glass:2,glass_kiln:2,glowing_snail_cag:2,goblin:0,goblin_armi:0,goblin_invas:0,goblin_tinker:0,gold:2,gold_bird_cag:2,gold_brick:2,gold_bunny_cag:2,gold_butterfly_cag:2,gold_coin_pil:2,gold_frog_cag:2,gold_grasshopper_cag:2,gold_mouse_cag:2,gold_worm_cag:2,golem:0,grai:2,grandfather_clock:2,granit:2,granite_block:2,granite_unsaf:2,grass:2,grass_unsaf:2,grasshopper_cag:2,gray_brick:2,gray_stucco:2,green:2,green_candy_can:2,green_candy_cane_block:2,green_dungeon:2,green_dungeon_brick:2,green_dungeon_slab:2,green_dungeon_slab_unsaf:2,green_dungeon_til:2,green_dungeon_tile_unsaf:2,green_dungeon_unsaf:2,green_jellyfish_bowl:2,green_moss:2,green_stained_glass:2,green_stucco:2,grinch_finger_wallpap:2,guide_voodoo_fish:0,hai:2,half_til:2,hallow_hardened_sand:2,hallow_sandston:2,hallow_unsafe1:2,hallow_unsafe2:2,hallow_unsafe3:2,hallow_unsafe4:2,hallowed_grass:2,hallowed_grass_unsaf:2,hallowed_ic:2,hallowed_pl:2,hallowed_plants2:2,hallowed_vin:2,hammer:2,hanging_lantern:2,hardened_sand:2,hardmod:[0,3],hardmodeor:0,hardmodetier1or:0,hardmodetier2or:0,hardmodetier3or:0,harpyfish:0,has:[0,2,3],have:3,hay_block:2,header:[1,3],heart:[0,2,3],heavy_work_bench:2,hellforg:2,hellston:2,hellstone_brick:2,hellstone_brick_unsaf:2,hive:2,hive_unsaf:2,holiday_light:2,honei:2,honey_block:2,honey_dispens:2,honey_drip:2,honeyfal:2,how:[0,2],http:2,hungerfish:0,ice_block:2,ice_brick:2,ice_floe_wallpap:2,ice_machin:2,ice_queen:0,ice_unsaf:2,ichorfish:0,id_:3,imbuing_st:2,immature_herb:2,inactive_stone_block:2,increas:0,index:1,infected_scabbardfish:0,inform:[0,3],inlet_pump:2,insid:2,intended_sever:0,invas:0,invasiontyp:0,iridescent_brick:2,iron:2,iron_f:2,is_act:[0,2],is_daytim:0,is_expert:3,is_favorit:3,is_hardmod:3,item:0,item_fram:2,jackolantern:2,jewelfish:0,julia_butterfly_jar:2,jungl:2,jungle_grass:2,jungle_pl:2,jungle_plants2:2,jungle_thorn:2,jungle_unsaf:2,jungle_unsafe1:2,jungle_unsafe2:2,jungle_unsafe3:2,jungle_unsafe4:2,jungle_vin:2,keg:2,king_slim:0,krampus_horn_wallpap:2,lamp:2,lamppost:2,land:0,land_min:2,large_pil:2,large_piles2:2,larva:2,last:3,lava:2,lava_drip:2,lava_lamp:2,lava_moss:2,lava_unsafe1:2,lava_unsafe2:2,lava_unsafe3:2,lava_unsafe4:2,lavafal:2,lead:2,leaf_block:2,left:0,lever:2,life_fruit:2,lightning_bugina_bottl:2,lihzahrd_altar:2,lihzahrd_brick:2,lihzahrd_brick_unsaf:2,lihzahrd_furnac:2,line:0,liquid:2,liquidtyp:2,list:[0,3],living_cursed_fir:2,living_demon_fir:2,living_fir:2,living_frost_fir:2,living_ichor:2,living_leaf:2,living_loom:2,living_mahogani:2,living_mahogany_leav:2,living_ultrabright_fir:2,living_wood:2,logic_g:2,logic_gate_lamp:2,logic_sensor:2,long_moss:2,loom:2,lunar:0,lunar_block_nebula:2,lunar_block_solar:2,lunar_block_stardust:2,lunar_block_vortex:2,lunar_brick:2,lunar_brick_wal:2,lunar_crafting_st:2,lunar_ev:0,lunar_monolith:2,lunar_or:2,lunar_pillar:0,lunarev:0,mad:0,magical_ice_block:2,mallard_duck_cag:2,man:3,mannequin:2,marbl:2,marble_block:2,marble_unsaf:2,mark:3,martian:0,martian_conduit:2,martian_conduit_pl:2,martian_mad:0,match:3,mature_herb:2,max_rain:0,mean:2,meat_grind:2,mechan:0,metal_bar:2,metal_f:2,meteorit:[0,2],meteorite_brick:2,method:2,midnight:0,minecart_track:2,minimap:3,mirage_fish:0,miss:2,mode:3,modulo:0,monarch_butterfly_jar:2,moon:0,moon_lord:0,moon_phas:0,moonphas:0,moonstyl:0,moss:0,mourning_wood:0,mouse_cag:2,mud:2,mud_unsaf:2,mudfish:0,mudston:2,mudstone_brick:2,mushroom:2,mushroom_block:2,mushroom_grass:2,mushroom_pl:2,mushroom_statu:2,mushroom_tre:2,mushroom_unsaf:2,music_box:2,music_wallpap:2,mutant_flinxfin:0,mythril:[0,2],mythril_anvil:2,mythril_brick:2,name:[0,3],nearbi:0,nearby_left:0,nearby_right:0,nebula:0,new_moon:0,night:0,no_compress:2,no_liquid:2,none:[0,3],normal:2,not_determin:0,not_determined_too:0,npc:[0,3],number:[0,3],object:3,obsidian:2,obsidian_back_unsaf:2,obsidian_brick:2,obsidian_brick_unsaf:2,old:3,old_ones_armi:0,oldonesarmyti:0,one:0,ongo:[0,3],open_door:2,option:2,orang:0,orb:[0,3],order:0,ore_tier1:0,ore_tier2:0,ore_tier3:0,ores:0,orichalcum:[0,2],ornament_wallpap:2,other:2,outlet_pump:2,over:2,paint:2,painting2x3:2,painting3x2:2,painting3x3:2,painting4x3:2,painting6x4:2,pair:0,palladium:[0,2],palladium_column:2,palm_tre:2,palm_wood:2,palm_wood_f:2,part:0,parti:0,party_bundle_of_balloon_til:2,party_monolith:2,party_pres:2,partying_npc:0,pass:2,peace_candl:2,pearlsand:2,pearlston:2,pearlstone_brick:2,pearlstone_brick_unsaf:2,pearlwood:2,pearlwood_f:2,pengfish:0,penguin_cag:2,phase:0,piano:2,piggy_bank:2,pigronata:2,pillar:0,pillars_pres:0,pillarsinfo:0,pine_tre:2,pink_dungeon:2,pink_dungeon_brick:2,pink_dungeon_slab:2,pink_dungeon_slab_unsaf:2,pink_dungeon_til:2,pink_dungeon_tile_unsaf:2,pink_dungeon_unsaf:2,pink_jellyfish_bowl:2,pink_slime_block:2,pirat:0,pirate_invas:0,pixel:3,pixel_box:2,pixiefish:0,place:2,plank:2,plant:2,plant_detritu:2,planter_box:2,plantera:0,plantera_bulb:2,plants2:2,platform:2,platinum:2,platinum_brick:2,platinum_candelabra:2,platinum_candl:2,platinum_coin_pil:2,player:[0,3],point:3,posit:0,possibl:[0,2],pot:2,present:[0,2],pressure_pl:2,projectile_pressure_pad:2,properti:[0,3],pumpk:0,pumpkin:2,pumpkin_block:2,purple_emperor_butterfly_jar:2,purple_moss:2,purple_rain_wallpap:2,purple_stained_glass:2,pwnhammer:3,python:3,queen_be:0,quest:[0,3],rain:0,rain_cloud:2,rainbow_brick:2,rainbow_stained_glass:2,rainbow_wallpap:2,read:2,rect:3,red:2,red_admiral_butterfly_jar:2,red_brick:2,red_dynasty_shingl:2,red_moss:2,red_stained_glass:2,red_stucco:2,refer:2,relat:[0,3],repres:0,represent:3,request:0,rescu:3,revis:3,rich_mahogani:2,rich_mahogany_f:2,rich_maogani:2,right:0,ringed_green:0,rle:2,rleencod:2,rocks_unsafe1:2,rocks_unsafe2:2,rocks_unsafe3:2,rocks_unsafe4:2,rope:2,rubi:2,ruby_gemspark:2,ruby_gemspark_off:2,ruby_unsaf:2,safe:2,sail:2,same:2,sand:2,sand_drip:2,sand_fal:2,sand_fall_block:2,sand_stone_slab:2,sandston:2,sandstone_brick:2,sandstorm:0,santa_nk1:0,sapl:2,sapphir:2,sapphire_gemspark:2,sapphire_gemspark_off:2,sapphire_unsaf:2,save:[2,3],saved_npc:3,savednpc:[0,3],savefil:3,savefile_typ:3,sawmil:2,scorpion_cag:2,seaweed_plant:2,second:0,seed:0,separ:0,set:0,sever:0,shadewood:2,shadewood_f:2,shadow:[0,3],shadow_orb:[2,3],shadoworb:[0,3],shape:2,share:2,sharpening_st:2,ship_in_abottl:2,should:[0,3],shroomite_pl:2,sign:2,silk_rop:2,silly_balloon_green:2,silly_balloon_green_wal:2,silly_balloon_machin:2,silly_balloon_pink:2,silly_balloon_pink_wal:2,silly_balloon_purpl:2,silly_balloon_purple_wal:2,silly_balloon_til:2,silly_streamer_blu:2,silly_streamer_green:2,silly_streamer_pink:2,silt:2,silver:2,silver_brick:2,silver_coin_pil:2,singl:2,single_byt:2,sink:2,size:[0,3],size_start:0,skeletron:0,skeletron_prim:0,skull_lantern:2,sky_mil:2,slime:[0,2],slime_block:2,slime_rain:0,slimefish:0,slope:2,slush:2,small_pil:2,smash:0,smashed_at_least_onc:0,snail_cag:2,snow_block:2,snow_brick:2,snow_cloud:2,snow_fal:2,snow_fall_block:2,snow_wall_unsaf:2,snowball_launch:2,snowflake_wallpap:2,solar:0,solar_eclips:0,solid:2,solidifi:2,some:2,sparkle_stone_wallpap:2,spawn:[0,3],spawn_meteorit:0,spawn_point:3,specif:0,spider_unsaf:2,spiderfish:0,spike:2,split:0,spontan:0,spooky_wood:2,squiggles_wallpap:2,squirrel_cag:2,squirrel_gold_cag:2,squirrel_orange_cag:2,stalactit:2,stardust:0,starlit_heaven_wallpap:2,stars_wallpap:2,start:[0,3],statu:2,steampunk_boil:2,stone:2,stone_slab:2,store:2,str:[0,3],style:[0,3],stylist:0,sulphur_butterfly_jar:2,sundial:[0,2],sundial_cooldown:0,sunflow:2,sunplat:2,support:2,tabl:2,tables2:2,tall_gate_clos:2,tall_gate_open:2,target_dummi:2,tax_collector:0,team_block_blu:2,team_block_blue_platform:2,team_block_green:2,team_block_green_platform:2,team_block_pink:2,team_block_pink_platform:2,team_block_r:2,team_block_red_platform:2,team_block_whit:2,team_block_white_platform:2,team_block_yellow:2,team_block_yellow_platform:2,teleport:2,terraria:[0,3],textur:2,the_destroy:0,the_fish_of_cthulhu:0,the_twin:0,thei:2,thi:[0,3],third:0,third_quart:0,three:0,threw:0,throne:2,through:2,thrown:0,thrown_by_npc:0,thrown_by_party_cent:0,tier1:0,tier2:0,tier3:0,tile:[2,3],tileframeimport:3,time:[0,3],time_left:0,timer:2,tin:2,tin_brick:2,tin_plat:2,tinkerers_workbench:2,titanium:[0,2],titanston:2,titanstone_block:2,tmodload:2,todai:[0,3],tombston:2,top_left_slop:2,top_right_slop:2,topaz:2,topaz_gemspark:2,topaz_gemspark_off:2,topaz_unsaf:2,torch:2,trap:2,trapdoor_clos:2,trapdoor_open:2,trash_can:2,tree:[0,2],tree_nymph_butterfly_jar:2,tropical_barracuda:0,tundra_trout:0,tungsten:2,tungsten_brick:2,type:[0,2],type_:[0,2],ulysses_butterfly_jar:2,underground:3,underground_level:3,unicorn_fish:0,union:0,uniqu:3,univers:3,used:0,uuid:3,uuid_:3,valu:2,vanilla:2,variou:[0,3],version:[0,3],vertic:0,vine:2,vine_flow:2,vine_rop:2,volum:2,vortex:0,wall:2,walltyp:2,waning_cresc:0,waning_gibb:0,war_tabl:2,war_table_bann:2,water:2,water_candl:2,water_drip:2,water_fountain:2,waterfal:2,waxing_cresc:0,waxing_gibb:0,weapons_rack:2,web_rop:2,weighted_pressure_pl:2,were:3,when:[0,3],whether:3,which:[0,3],white:0,white_dynasti:2,who:0,wiki:2,wind_spe:0,wire:2,wire_bulb:2,wire_pip:2,wizard:0,wld:3,womannequin:2,wood:2,wood_block:2,wooden_beam:2,wooden_f:2,wooden_spik:2,work_bench:2,world:[0,1,2],world_evil:3,worldeviltyp:[0,3],worm_cag:2,wyverntail:0,yellow:2,yellow_stained_glass:2,yellow_stucco:2,zebra_swallowtail_butterfly_jar:2,zombie_fish:0},titles:["lihzahrd.header","lihzahrd","lihzahrd.header","lihzahrd.World"],titleterms:{header:[0,2],lihzahrd:[0,1,2,3],link:1,some:1,useful:1,world:3}})
\ No newline at end of file
diff --git a/docs/html/tiles.html b/docs/html/tiles.html
new file mode 100644
index 0000000..4c7529c
--- /dev/null
+++ b/docs/html/tiles.html
@@ -0,0 +1,3977 @@
+
+
+
+
+
+
+
+
+
+
+ lihzahrd.header — lihzahrd documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/html/world.html b/docs/html/world.html
index d75503a..f97ca54 100644
--- a/docs/html/world.html
+++ b/docs/html/world.html
@@ -85,6 +85,7 @@
lihzahrd.header
+lihzahrd.header
@@ -155,8 +156,13 @@
-
-class
lihzahrd. World (version: lihzahrd.header.version.Version, savefile_type: int, revision: int, is_favorite: bool, name: str, generator: lihzahrd.header.generatorinfo.GeneratorInfo, uuid_: uuid.UUID, id_: int, bounds: lihzahrd.header.rect.Rect, size: lihzahrd.header.coordinates.Coordinates, is_expert: bool, created_on, styles: lihzahrd.header.styles.Styles, backgrounds: lihzahrd.header.backgrounds.Backgrounds, spawn_point: lihzahrd.header.coordinates.Coordinates, underground_level: float, cavern_level: float, time: lihzahrd.header.time.Time, events: lihzahrd.header.events.Events, dungeon_point: lihzahrd.header.coordinates.Coordinates, world_evil: lihzahrd.header.worldeviltype.WorldEvilType, saved_npcs: lihzahrd.header.savednpcs.SavedNPCs, altars_smashed: lihzahrd.header.altarssmashed.AltarsSmashed, is_hardmode: bool, shadow_orbs: lihzahrd.header.shadoworbs.ShadowOrbs, bosses_defeated: lihzahrd.header.bossesdefeated.BossesDefeated, anglers_quest: lihzahrd.header.anglerquest.AnglerQuest, clouds: lihzahrd.header.clouds.Clouds, cultist_delay: int)
+class lihzahrd. World (version: lihzahrd.header.version.Version, savefile_type: int, revision: int, is_favorite: bool, name: str, generator: lihzahrd.header.generatorinfo.GeneratorInfo, uuid_: uuid.UUID, id_: int, bounds: lihzahrd.fileutils.rect.Rect, size: lihzahrd.header.coordinates.Coordinates, is_expert: bool, created_on, styles: lihzahrd.header.styles.Styles, backgrounds: lihzahrd.header.backgrounds.Backgrounds, spawn_point: lihzahrd.header.coordinates.Coordinates, underground_level: float, cavern_level: float, time: lihzahrd.header.time.Time, events: lihzahrd.header.events.Events, dungeon_point: lihzahrd.header.coordinates.Coordinates, world_evil: lihzahrd.header.worldeviltype.WorldEvilType, saved_npcs: lihzahrd.header.savednpcs.SavedNPCs, altars_smashed: lihzahrd.header.altarssmashed.AltarsSmashed, is_hardmode: bool, shadow_orbs: lihzahrd.header.shadoworbs.ShadowOrbs, bosses_defeated: lihzahrd.header.bossesdefeated.BossesDefeated, anglers_quest: lihzahrd.header.anglerquest.AnglerQuest, clouds: lihzahrd.header.clouds.Clouds, cultist_delay: int)
The Python representation of a Terraria world.
+
+-
+static
_read_tiles (fr: lihzahrd.fileutils.filereader.FileReader, tileframeimportant) → List
+
+
-
altars_smashed = None
diff --git a/docs_source/index.rst b/docs_source/index.rst
index 3992d8e..58db37f 100644
--- a/docs_source/index.rst
+++ b/docs_source/index.rst
@@ -6,6 +6,7 @@ lihzahrd
world
header
+ tiles
Some useful links
diff --git a/docs_source/tiles.rst b/docs_source/tiles.rst
new file mode 100644
index 0000000..11de43e
--- /dev/null
+++ b/docs_source/tiles.rst
@@ -0,0 +1,11 @@
+lihzahrd.header
+====================================
+
+.. toctree::
+ :maxdepth: 2
+
+
+.. automodule:: lihzahrd.tiles
+ :members:
+ :private-members:
+ :undoc-members:
diff --git a/lihzahrd/tiles/__init__.py b/lihzahrd/tiles/__init__.py
index 3486288..6d6484a 100644
--- a/lihzahrd/tiles/__init__.py
+++ b/lihzahrd/tiles/__init__.py
@@ -1,7 +1,7 @@
from .liquidtype import LiquidType
from .rleencoding import RLEEncoding
from .shape import Shape
-from .wires import Wires
+from .wiring import Wiring
from .blocktype import BlockType
from .frameimportantdata import FrameImportantData
from .walltype import WallType
@@ -10,5 +10,5 @@ from .wall import Wall
from .liquid import Liquid
from .tile import Tile
-__all__ = ["LiquidType", "RLEEncoding", "Shape", "Wires", "BlockType", "FrameImportantData", "WallType", "Block",
+__all__ = ["LiquidType", "RLEEncoding", "Shape", "Wiring", "BlockType", "FrameImportantData", "WallType", "Block",
"Wall", "Liquid", "Tile"]
diff --git a/lihzahrd/tiles/block.py b/lihzahrd/tiles/block.py
index 038bbb6..2d7c34e 100644
--- a/lihzahrd/tiles/block.py
+++ b/lihzahrd/tiles/block.py
@@ -1,20 +1,33 @@
import typing
from .blocktype import BlockType
from .frameimportantdata import FrameImportantData
+from .shape import Shape
class Block:
- __slots__ = "type", "frame", "paint", "is_active"
+ """A block that has been placed in the world."""
+
+ __slots__ = "type", "frame", "shape", "paint", "is_active"
def __init__(self,
type_: BlockType,
frame: typing.Optional[FrameImportantData],
+ shape: Shape,
paint: typing.Optional[int],
is_active: bool = True):
self.type: BlockType = type_
+ """The type of the block (dirt, stone, ...)."""
+
self.frame: typing.Optional[FrameImportantData] = frame
+ """The framedata of the block, if present."""
+
+ self.shape: Shape = shape
+
self.paint: typing.Optional[int] = paint
+ """The paint color of a block."""
+
self.is_active: bool = is_active
+ """If the block is solid or can be passed through because of an Actuator."""
def __repr__(self):
return f"Block(type_={repr(self.type)}, frame={self.frame}, paint={self.paint}, is_active={self.is_active})"
diff --git a/lihzahrd/tiles/blocktype.py b/lihzahrd/tiles/blocktype.py
index 6105518..86ddd92 100644
--- a/lihzahrd/tiles/blocktype.py
+++ b/lihzahrd/tiles/blocktype.py
@@ -2,6 +2,9 @@ import enum
class BlockType(enum.IntEnum):
+ """All possible block types.
+
+ Data from https://github.com/tModLoader/tModLoader/wiki/Vanilla-Tile-IDs."""
DIRT = 0
STONE = 1
GRASS = 2
diff --git a/lihzahrd/tiles/frameimportantdata.py b/lihzahrd/tiles/frameimportantdata.py
index cc37dc2..e0af41b 100644
--- a/lihzahrd/tiles/frameimportantdata.py
+++ b/lihzahrd/tiles/frameimportantdata.py
@@ -1,4 +1,9 @@
class FrameImportantData:
+ """Frame data of FrameImportant blocks.
+
+ Some blocks share the same type and texture of other blocks (ex: banners), so they store some texture data inside
+ the save file."""
+
__slots__ = "frame_x", "frame_y"
def __init__(self, frame_x, frame_y):
diff --git a/lihzahrd/tiles/liquid.py b/lihzahrd/tiles/liquid.py
index 1d3178b..52c0661 100644
--- a/lihzahrd/tiles/liquid.py
+++ b/lihzahrd/tiles/liquid.py
@@ -2,8 +2,17 @@ from .liquidtype import LiquidType
class Liquid:
+ """A liquid present in a tile."""
+
__slots__ = "type", "volume"
def __init__(self, type_: LiquidType, volume: int):
self.type: LiquidType = type_
+ """The type of liquid present in the tile."""
+
self.volume: int = volume
+ """The volume of liquid present in the tile.
+
+ 0 means the tile has no liquid, while 255 means the tile is full of liquid.
+
+ Values over 255 aren't supported."""
diff --git a/lihzahrd/tiles/liquidtype.py b/lihzahrd/tiles/liquidtype.py
index acf8a2f..a0b6801 100644
--- a/lihzahrd/tiles/liquidtype.py
+++ b/lihzahrd/tiles/liquidtype.py
@@ -2,6 +2,7 @@ import enum
class LiquidType(enum.IntEnum):
+ """All possible types of liquids."""
NO_LIQUID = 0
WATER = 1
LAVA = 2
diff --git a/lihzahrd/tiles/rleencoding.py b/lihzahrd/tiles/rleencoding.py
index 611241d..48c3f51 100644
--- a/lihzahrd/tiles/rleencoding.py
+++ b/lihzahrd/tiles/rleencoding.py
@@ -2,9 +2,16 @@ import enum
class RLEEncoding(enum.IntEnum):
+ """How the RLE compression is encoded."""
+
NO_COMPRESSION = 0
+ """The read data refers to a single tile."""
+
SINGLE_BYTE = 1
+ """The read data refers to 2-255 tiles (1 byte)."""
+
DOUBLE_BYTE = 2
+ """The read data refers to 256-4800 tiles (2 bytes)."""
@classmethod
def from_flags(cls, flags1):
diff --git a/lihzahrd/tiles/shape.py b/lihzahrd/tiles/shape.py
index 11e280f..b8cf774 100644
--- a/lihzahrd/tiles/shape.py
+++ b/lihzahrd/tiles/shape.py
@@ -2,6 +2,10 @@ import enum
class Shape(enum.IntEnum):
+ """The shape of a block, given to it with an hammer.
+
+ The directions refer to the missing slope corner."""
+
NORMAL = 0
HALF_TILE = 1
TOP_RIGHT_SLOPE = 2
diff --git a/lihzahrd/tiles/tile.py b/lihzahrd/tiles/tile.py
index 59a080c..f3fe3b8 100644
--- a/lihzahrd/tiles/tile.py
+++ b/lihzahrd/tiles/tile.py
@@ -2,15 +2,23 @@ import typing
from .block import Block
from .wall import Wall
from .liquid import Liquid
+from .wiring import Wiring
class Tile:
- __slots__ = "block", "wall", "liquid"
+ """A tile, composed by a block, a wall, a liquid and wires."""
- def __init__(self, block: typing.Optional[Block], wall: typing.Optional[Wall], liquid: typing.Optional[Liquid]):
+ __slots__ = "block", "wall", "liquid", "wiring"
+
+ def __init__(self,
+ block: typing.Optional[Block],
+ wall: typing.Optional[Wall],
+ liquid: typing.Optional[Liquid],
+ wiring: Wiring):
self.block: typing.Optional[Block] = block
self.wall: typing.Optional[Wall] = wall
self.liquid: typing.Optional[Liquid] = liquid
+ self.wiring: Wiring = wiring
def __repr__(self):
return f""
diff --git a/lihzahrd/tiles/wall.py b/lihzahrd/tiles/wall.py
index 28a0039..93c955c 100644
--- a/lihzahrd/tiles/wall.py
+++ b/lihzahrd/tiles/wall.py
@@ -3,6 +3,8 @@ from .walltype import WallType
class Wall:
+ """A wall that has been placed in the world."""
+
__slots__ = "type", "paint"
def __init__(self, type_: WallType, paint: typing.Optional[int]):
diff --git a/lihzahrd/tiles/walltype.py b/lihzahrd/tiles/walltype.py
index e720c1b..07215d8 100644
--- a/lihzahrd/tiles/walltype.py
+++ b/lihzahrd/tiles/walltype.py
@@ -2,6 +2,9 @@ import enum
class WallType(enum.IntEnum):
+ """All possible wall types.
+
+ Data from https://github.com/tModLoader/tModLoader/wiki/Vanilla-Wall-IDs."""
STONE = 1
DIRT_UNSAFE = 2
EBONSTONE_UNSAFE = 3
diff --git a/lihzahrd/tiles/wires.py b/lihzahrd/tiles/wiring.py
similarity index 57%
rename from lihzahrd/tiles/wires.py
rename to lihzahrd/tiles/wiring.py
index 1e194f8..a696468 100644
--- a/lihzahrd/tiles/wires.py
+++ b/lihzahrd/tiles/wiring.py
@@ -1,4 +1,6 @@
-class Wires:
+class Wiring:
+ """Wiring data for a certain tile."""
+
__slots__ = "red", "green", "blue", "yellow", "actuator"
def __init__(self,
@@ -8,10 +10,20 @@ class Wires:
yellow: bool = False,
actuator: bool = False):
self.red: bool = red
+ """If there's a red Wire in the tile."""
+
self.green: bool = green
+ """If there's a green Wire in the tile."""
+
self.blue: bool = blue
+ """If there's a blue Wire in the tile."""
+
self.yellow: bool = yellow
+ """If there's a yellow Wire in the tile."""
+
self.actuator: bool = actuator
+ """If there's an Actuator in the tile."""
def __repr__(self):
- return f"Wires(red={self.red}, green={self.green}, blue={self.blue}, yellow={self.yellow}, actuator={self.actuator})"
+ return f"Wires(red={self.red}, green={self.green}, blue={self.blue}, yellow={self.yellow}," \
+ f" actuator={self.actuator})"
diff --git a/lihzahrd/world.py b/lihzahrd/world.py
index f90f085..1e09803 100644
--- a/lihzahrd/world.py
+++ b/lihzahrd/world.py
@@ -151,18 +151,18 @@ class World:
if flags2[0]:
flags3 = fr.bits()
is_active = not flags3[2]
- wires = Wires(red=flags2[1], green=flags2[2], blue=flags2[3], yellow=flags3[5], actuator=flags3[1])
+ wiring = Wiring(red=flags2[1], green=flags2[2], blue=flags2[3], yellow=flags3[5], actuator=flags3[1])
is_block_painted = flags3[3]
is_wall_painted = flags3[4]
else:
is_active = True
- wires = Wires(red=flags2[1], green=flags2[2], blue=flags2[3])
+ wiring = Wiring(red=flags2[1], green=flags2[2], blue=flags2[3])
is_block_painted = False
is_wall_painted = False
else:
shape = Shape.NORMAL
is_active = True
- wires = Wires()
+ wiring = Wiring()
is_block_painted = False
is_wall_painted = False
if has_block:
@@ -180,7 +180,11 @@ class World:
block_paint = fr.uint1()
else:
block_paint = None
- block = Block(type_=block_id, frame=FrameImportantData(frame_x, frame_y), paint=block_paint)
+ block = Block(type_=block_id,
+ frame=FrameImportantData(frame_x, frame_y),
+ paint=block_paint,
+ is_active=is_active,
+ shape=shape)
else:
block = None
if has_wall:
@@ -202,7 +206,7 @@ class World:
multiply_by = fr.uint1() + 1
else:
multiply_by = 1
- tile = Tile(block=block, wall=wall, liquid=liquid)
+ tile = Tile(block=block, wall=wall, liquid=liquid, wiring=wiring)
return [tile] * multiply_by
@classmethod
|