Skip to content
Snippets Groups Projects
Commit c8f99f92 authored by DarkGod's avatar DarkGod
Browse files

plop

parent b7bba2cd
No related branches found
No related tags found
No related merge requests found
Showing
with 14 additions and 94 deletions
......@@ -41,6 +41,8 @@ function _M:init(mode)
if not mode then mode = core.steam and "steam" or "te4" end
self.mode = mode
self.ui = "microtxn"
self.cart = {}
self.base_title_text = game.__mod_info.long_name.." #GOLD#Online Store#LAST#"
......@@ -117,6 +119,7 @@ function _M:init(mode)
elseif mode == "te4" then
uis[#uis+1] = {right=0, bottom=self.c_do_purchase, ui=self.c_coins_available}
end
self:loadUI(uis)
self:setupUI(false, false)
......
game/modules/tome/data/gfx/microtxn-ui/dialogframe_1.png

59.1 KiB

game/modules/tome/data/gfx/microtxn-ui/dialogframe_2.png

17.3 KiB

game/modules/tome/data/gfx/microtxn-ui/dialogframe_3.png

59.8 KiB

game/modules/tome/data/gfx/microtxn-ui/dialogframe_4.png

23.5 KiB

game/modules/tome/data/gfx/microtxn-ui/dialogframe_5.png

7.48 KiB

game/modules/tome/data/gfx/microtxn-ui/dialogframe_6.png

23.6 KiB

game/modules/tome/data/gfx/microtxn-ui/dialogframe_7.png

76.9 KiB

game/modules/tome/data/gfx/microtxn-ui/dialogframe_8.png

21.5 KiB

game/modules/tome/data/gfx/microtxn-ui/dialogframe_9.png

73.9 KiB

-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2017 Nicolas Casalini
-- Copyright (C) 2009 - 2018 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
......@@ -17,15 +17,13 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
return {
id = "BEARSCAPE",
name = "The Bearscape (server-wide)",
image = "/data/gfx/achievements/bearscape.png",
desc = [[The Bearscape is a level 15+ zone that spawns on the worldmap.
This legendary place is said to be filled with powerful bears, all very hungry!
Will you survive this place? Can you #{bold}#bear#{italic}# it?!
#GREEN#Server-wide:#LAST# This event will trigger for your character and every other player currently playing.]],
price = 20,
multi_pruchase = true,
}
microtxn = {
frame_shadow = {x=15, y=15, a=0.5},
frame_alpha = 1,
frame_darkness = 0.6,
frame_ox1 = -60,
frame_ox2 = 60,
frame_oy1 = -60,
frame_oy2 = 60,
-- title_bar = {x=0, y=-17, w=4, h=25},
}
\ No newline at end of file
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2017 Nicolas Casalini
--
-- This program 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.
--
-- This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
return {
id = "POOSH",
name = "Lost Land of Poosh (server-wide)",
image = "/data/gfx/achievements/land_poosh.png",
desc = [[The Bearscape is a level 15+ zone that spawns on the worldmap.
Poosh has gone missing! But what is poosh? Who stole it? And most importantly, what deliciously terrible deaths will it give your character?
Will you survive and claim your rewards? Or will you die forever lost in a lost land?
#GREEN#Server-wide:#LAST# This event will trigger for your character and every other player currently playing.]],
price = 20,
multi_pruchase = true,
}
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2017 Nicolas Casalini
--
-- This program 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.
--
-- This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
if mode == "steam" then
return {
id = "VAULT_SPACE",
name = "Storage Vault Space (+2)",
image = "/data/gfx/shockbolt/terrain/padlock2.png",
desc = [[Unsure what to do with your huge collection of coins?
Feeling a bit tight on the online vault storage?
For every of purchase of a DLC or on the online store you also gain a new free vault slot for 2€ of purchased value.]],
price = 10,
multi_pruchase = true,
}
else
return {
id = "VAULT_SPACE",
name = "Storage Vault Space (+2)",
image = "/data/gfx/shockbolt/terrain/padlock2.png",
desc = [[Unsure what to do with your huge collection of coins?
Feeling a bit tight on the online vault storage?
Remember that for every 2 euro of donations you also gain a new free vault slot.]],
price = 10,
multi_pruchase = true,
}
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment