mirror of
				https://github.com/minetest-mods/moreblocks.git
				synced 2025-10-31 22:05:23 +01:00 
			
		
		
		
	compatability and legacy mostly done. schema recipes are all messed up for some reason.
This commit is contained in:
		
							
								
								
									
										22
									
								
								stairsplus/groups/builtin.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								stairsplus/groups/builtin.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
|  | ||||
| stairsplus.api.register_passthrough_groups({ | ||||
| 	"not_in_creative_inventory", | ||||
| 	"dig_immediate", | ||||
| 	"float", | ||||
| 	"level", | ||||
| 	"slippery", | ||||
| 	"falling_node", | ||||
| 	"disable_jump", | ||||
| }) | ||||
|  | ||||
| stairsplus.api.register_scale_groups({ | ||||
| 	"bouncy", | ||||
| 	"fall_damage_add_percent", | ||||
| 	"slippery", | ||||
| }) | ||||
|  | ||||
| stairsplus.api.register_ignore_groups({ | ||||
| 	"attached_node", | ||||
| 	"connect_to_raillike", | ||||
| 	"tool", | ||||
| }) | ||||
							
								
								
									
										20
									
								
								stairsplus/groups/default.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								stairsplus/groups/default.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| if not stairsplus.has.default then | ||||
| 	return | ||||
| end | ||||
|  | ||||
| stairsplus.api.register_passthrough_groups({ | ||||
| 	"crumbly", | ||||
| 	"cracky", | ||||
| 	"snappy", | ||||
| 	"choppy", | ||||
| 	"fleshy", | ||||
| 	"flammable", | ||||
| 	"explody", | ||||
| 	"oddly_breakable_by_hand", | ||||
| }) | ||||
|  | ||||
| stairsplus.api.register_scale_groups({ | ||||
| }) | ||||
|  | ||||
| stairsplus.api.register_ignore_groups({ | ||||
| }) | ||||
							
								
								
									
										2
									
								
								stairsplus/groups/init.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								stairsplus/groups/init.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| stairsplus.dofile("groups", "builtin") | ||||
| stairsplus.dofile("groups", "default") | ||||
		Reference in New Issue
	
	Block a user