Jordach wrote:tonyka wrote:I have an idea, not develop it, but would give much play in the Serves.
would create an object of rankin, it changes to 4 possible states (losing bronze trophy, silver trophy, gold trophy..., for example), depending on the actions that the player with respect to other players holding the object, and possibly could be configured in a simple manner from the same game, for example, writing the specified action, in the same way that the sign objet, which can create competitions.
sorry for my English
translated by google
original text in Spanis:
Yo tengo una idea, que no se desarrollarla, pero daria mucho juego en los serves.
seria crear un objeto de rankin, que cambie a 4 estados posibles, (perdiendo, trofeo de bronce, trofeo de plata, trofeo de oro..., por ejemplo), dependiendo de las acciones que realice el jugador, con respecto a las de otros jugadores que posean el objeto, y a ser posible que se pudiera configurar de una manera sencilla desde el mismo juego, como por ejemplo, escribiendo la acción especifica, de la misma forma que el objeto sing, pudiendo crear competiciones.
i agree, i could try adding privs, but this would suck.
seeing that like the idea, then show how little I've managed to create, not much, but at least it gives shape to the idea
unfortunately not programming, but I try to learn.
init.lua :
-- Master objet---
-- Properties:
-- Grant privileges to the organizer of the competition
-- To choose the type of event (collection of materials, kill mobs ...)
-- To choose start and duration of the event
-- Event ticket dispensing (mutable object)
minetest.register_craft({
output = 'experimental:registration_poster',
recipe = {
{'', 'default:sign_wall', ''},
{'default:paper', 'default:paper', 'default:paper'},
{'default:paper', 'default:paper', 'default:paper'}
}
})
minetest.register_node("experimental:registration_poster", {
description = "registration poster",
tile_images = {"master_event.png"},
inventory_image = minetest.inventorycube("poster.png"),
paramtype = "light",
drop = 'experimental:registration ticket',
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
sounds = default.node_sound_wood_defaults(),
--> the code <--
})
-- ranking sub-objet (mutable objet) --
--
minetest.register_item("experimental:registration ticket", {
description = "suscripción al evento",
-->the code
-- inventory_image = {"tiket.png","ranking0.png","ranking1.png","ranking2.png","ranking3.png",}
})
sorry for my English
translated by google