aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/chest/textures/chest_chest.png
blob: 824b4d50255fa092bac1e8505350b224dd9aa4d5 (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 20 00 00 00 20 04 03 00 00 00 81 54 67 .PNG........IHDR..............Tg
0020 c7 00 00 00 18 50 4c 54 45 80 80 00 80 40 00 c0 c0 c0 80 80 80 97 97 97 91 91 91 87 61 3b 88 68 .....PLTE....@..............a;.h
0040 48 fd cf 1b 6e 00 00 00 46 49 44 41 54 78 01 63 c0 00 8c 82 60 20 00 a3 71 0b 60 68 c1 69 c6 e0 H...n...FIDATx.c....`...q.`h.i..
0060 15 20 08 88 33 83 c9 00 a2 98 05 42 23 04 42 4c a1 66 08 19 42 b4 84 98 a2 99 11 28 8a 26 10 1a ....3......B#.BL.f..B......(.&..
0080 8a 26 10 86 2e 10 8e 2e 20 1a 48 ab f0 00 00 b7 24 1b 0b e9 1a 56 8b 00 00 00 00 49 45 4e 44 ae .&........H.....$....V.....IEND.
00a0 42 60 82 B`.
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
--[[
    signs mod for Minetest - Various signs with text displayed on
    (c) Pierre-Yves Rollo

    This file is part of signs.

    signs is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    signs is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with signs.  If not, see <http://www.gnu.org/licenses/>.
--]]

-- Poster specific formspec
local function on_rightclick_poster(pos, node, player)
	local formspec
	local meta = minetest.get_meta(pos)
	if not minetest.is_protected(pos, player:get_player_name()) then
		formspec =
			"size[6.5,7.5]"..
			"field[0.5,0.7;6,1;display_text;Title;"..minetest.formspec_escape(meta:get_string("display_text")).."]"..
			"textarea[0.5,1.7;6,6;text;Text;"..minetest.formspec_escape(meta:get_string("text")).."]"..
			"button_exit[2,7;2,1;ok;Write]"
		minetest.show_formspec(player:get_player_name(),
			"signs:poster@"..minetest.pos_to_string(pos),