mirror of
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-10-31 12:25:24 +01:00 
			
		
		
		
	Add setting to enable extra inbox messages
This commit is contained in:
		| @@ -79,7 +79,9 @@ homedecor.register("inbox", { | |||||||
| 			if inv:room_for_item("main", stack) then | 			if inv:room_for_item("main", stack) then | ||||||
| 				return -1 | 				return -1 | ||||||
| 			else | 			else | ||||||
| 				core.chat_send_player(player:get_player_name(), S("This mailbox is full.")) | 				if core.settings:get_bool("homedecor.verbose_messages", false) then | ||||||
|  | 					core.chat_send_player(player:get_player_name(), S("This mailbox is full.")) | ||||||
|  | 				end | ||||||
| 				return 0 | 				return 0 | ||||||
| 			end | 			end | ||||||
| 		end | 		end | ||||||
|   | |||||||
							
								
								
									
										3
									
								
								settingtypes.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								settingtypes.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  |  | ||||||
|  | # Enables extra messages to players for certain actions. | ||||||
|  | homedecor.verbose_messages (Verbose messages) bool false | ||||||
		Reference in New Issue
	
	Block a user