updated asphalt and textures by toby109tt
|
@ -1,7 +1,7 @@
|
|||
-- Aftermath created by maikerumine and Aiden Garvin
|
||||
-- Minetest 0.4.14 game: "Aftermath"
|
||||
-- namespace: aftermath
|
||||
-- (c) 2015 by: maikerumine and Aiden Garvin
|
||||
-- (c) 2015-2017 by: maikerumine and Aiden Garvin
|
||||
-- https://github.com/maikerumine
|
||||
-- LGPLv2.1 (SEE BOTTOM)
|
||||
-- Inspired by Blockmen's Wasteland game[/size][/color][/b]. https://github.com/BlockMen/Wasteland/releases/tag/0.5
|
||||
|
@ -29,6 +29,13 @@ Maikerumine: for the "hack-coding"
|
|||
Aiden Garvin: for the idea for gameplay
|
||||
Blockmen: for the original minetest concept in his Wasteland game
|
||||
And read the readme's in the mod section for all other contributors
|
||||
toby109tt for creating the textures:
|
||||
Header logo -aftermath
|
||||
New wood textures
|
||||
new dead leaves
|
||||
new canned food
|
||||
new atom soda texture
|
||||
and many more!!
|
||||
|
||||
NOTES:
|
||||
There are NO diamond or Mese tools in game. Let's be realistic folks, any crystal would shatter and a complete diamond tool would be unrealistic. Mese can be used to craft guns- see crafting guide in game.
|
||||
|
|
BIN
menu/header.png
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 284 KiB |
|
@ -121,11 +121,15 @@ function minetest.is_protected(pos, player_name)
|
|||
local node = minetest.get_node(pos);
|
||||
--can dig asphalt only from corners
|
||||
if node.name == "asphalt:asphalt" then
|
||||
--tnt and other things also cannot destroy asphalt
|
||||
if player_name == nil then
|
||||
return true
|
||||
end
|
||||
-- Delprotect privilege (works only if declared by protection mod)
|
||||
if minetest.get_player_privs(player_name).delprotect then
|
||||
local player = minetest.get_player_by_name(player_name);
|
||||
if player:get_player_control().sneak then
|
||||
return true
|
||||
return false
|
||||
end
|
||||
end
|
||||
if not can_dig_asphalt(pos) then
|
||||
|
|
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 664 B |
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 753 B |
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 596 B |
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 672 B |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 652 B |
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 721 B |
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 652 B |
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 804 B |
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 12 KiB |