Modul:EventData: Unterschied zwischen den Versionen
Die Seite wurde neu angelegt: „-- Modul:EventData local E = {} E.events = { halloween = { banner = "EventHalloween.png", type = "calendar_event", -- via i18n übersetzbar date = "October", duration = "2 weeks", unlocks_at = "character_level_10", -- via i18n-Textbaustein renderbar token = { key = "pumpkin", icon = "CurrencyPumpkin.png" }, drop = { base = { amount = 1, period = "28.8s" }, boost = { amount = 2, period…“ |
Keine Bearbeitungszusammenfassung Markierung: Manuelle Zurücksetzung |
||
| (12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 4: | Zeile 4: | ||
E.events = { | E.events = { | ||
halloween = { | halloween = { | ||
banner | banner = "EventHalloween.png", | ||
type | type = "calendar_event", | ||
page = "Halloween_Event", | |||
month = "October", -- wird per i18n → „Oktober“ | |||
start_date = "2025-10-24", | |||
duration = "2 weeks", -- i18n → „2 Wochen“ | |||
-- Bilder, die du in der Vorlage über {{Firestone|Event|NAME|file|…}} benutzt | |||
images = { | |||
deco = "HalloweenDecorations.png", | |||
fullname = "Maxwell.png", | |||
ex_shop = "WitchsHut.png", | |||
}, | }, | ||
-- Event-"Währung" | |||
currency = { key="pumpkin", icon="CurrencyPumpkin.png" }, | |||
-- Shop-Angebote | |||
shop = { | shop = { | ||
initial = { | initial = { | ||
| Zeile 64: | Zeile 34: | ||
{ name="Carriage of Pumpkins", image="PumpkinCoach.png", token=390000 }, | { name="Carriage of Pumpkins", image="PumpkinCoach.png", token=390000 }, | ||
}, | }, | ||
}, | |||
-- Austausch (verkürzte, saubere Struktur – du kannst jederzeit erweitern) | |||
exchange = { | |||
chests_by_level = { | |||
{ range="1-64", icon="RareChest.png", item="rare_chest", amount=1, price=2500, limit=25 }, | |||
{ range="65-129", icon="EpicChest.png", item="epic_chest", amount=1, price=2500, limit=25 }, | |||
{ range="130-299", icon="LegendaryChest.png", item="legendary_chest", amount=1, price=2500, limit=25 }, | |||
{ range="300-", icon="MythicChest.png", item="mythic_chest", amount=1, price=2500, limit=25, req_gear_power = "5e9" }, | |||
}, | |||
chests_by_stars = { | |||
{ range="1-99", icon="GoldChest.png", item="golden_chest", amount=1, price=2500, limit=25 }, | |||
{ range="100-144", icon="DiamondChest.png", item="diamond_chest", amount=1, price=2500, limit=25 }, | |||
{ range="145-189", icon="OpalChest.png", item="opal_chest", amount=1, price=2500, limit=25 }, | |||
{ range="190-", icon="EmeraldChest.png", item="emerald_chest", amount=1, price=2500, limit=25 }, | |||
}, | |||
chests_by_oracle = { | |||
{ range="1-97", icon="SolarChest.png", item="solar_chest", amount=1, price=2500, limit=25 }, | |||
{ range="98-148", icon="NebulaChest.png", item="nebula_chest", amount=1, price=2500, limit=25 }, | |||
{ range="149-200", icon="CosmicChest.png", item="cosmic_chest", amount=1, price=2500, limit=25 }, | |||
{ range="201-", icon="GalaxyChest.png", item="galaxy_chest", amount=1, price=2500, limit=25 }, | |||
}, | |||
currencies = { | |||
{ icon="CurrencyExoticCoin.png", item="exotic_coins", amount=500, price=1250, limit=50 }, | |||
{ icon="CurrencyPickaxe.png", item="pickaxe", amount=1, price=375, limit=70 }, | |||
{ icon="CurrencyStrangeDust.png",item="strange_dust", amount=20, price=500, limit=300 }, | |||
{ icon="CurrencyHonor.png", item="honor", amount=5, price=1500, limit=40 }, | |||
{ icon="CurrencyBeer.png", item="beer", amount=500, price=1250, limit=150 }, | |||
{ icon="CurrencyMeteorite.png", item="meteorite", amount=150, price=1500, limit=50 }, | |||
{ icon="CurrencyGoldenKeys.png", item="golden_key", amount=1, price=3000, limit=25 }, | |||
}, | |||
}, | }, | ||
| Zeile 83: | Zeile 83: | ||
{ file="AvatarMaxwell.png", title="Maxwell, the Pumpkin Head", cost=21000 }, | { file="AvatarMaxwell.png", title="Maxwell, the Pumpkin Head", cost=21000 }, | ||
{ file="AvatarCatrina.png", title="Catrina, the Undying Beauty", cost=21000 }, | { file="AvatarCatrina.png", title="Catrina, the Undying Beauty", cost=21000 }, | ||
{ file="AvatarBaron.png", title="Baron, the Voodoo Master", | { file="AvatarBaron.png", title="Baron, the Voodoo Master", cost=21000 }, | ||
{ file="AvatarSonar.png", title="Sonar, the Nocturnal Messenger", cost=21000 }, | { file="AvatarSonar.png", title="Sonar, the Nocturnal Messenger", cost=21000 }, | ||
}, | }, | ||
| Zeile 90: | Zeile 90: | ||
history = { | history = { | ||
{ year=2022, start="2022-10-24", ["end"]="2022-11-07" }, | { year=2022, start="2022-10-24", ["end"]="2022-11-07" }, | ||
{ year=2023, start="2023-10-20", ["end"]="2023-11-03", alt_platform="2023-10-24 | { year=2023, start="2023-10-20", ["end"]="2023-11-03", alt_platform="2023-10-24 bis 2023-11-07" }, | ||
{ year=2024, start="2024-10-25", ["end"]="2024-11-08" }, | { year=2024, start="2024-10-25", ["end"]="2024-11-08" }, | ||
}, | }, | ||
}, | }, | ||
} | } | ||
return E | return E | ||
Aktuelle Version vom 28. Oktober 2025, 02:06 Uhr
Die Dokumentation für dieses Modul kann unter Modul:EventData/Doku erstellt werden
-- Modul:EventData
local E = {}
E.events = {
halloween = {
banner = "EventHalloween.png",
type = "calendar_event",
page = "Halloween_Event",
month = "October", -- wird per i18n → „Oktober“
start_date = "2025-10-24",
duration = "2 weeks", -- i18n → „2 Wochen“
-- Bilder, die du in der Vorlage über {{Firestone|Event|NAME|file|…}} benutzt
images = {
deco = "HalloweenDecorations.png",
fullname = "Maxwell.png",
ex_shop = "WitchsHut.png",
},
-- Event-"Währung"
currency = { key="pumpkin", icon="CurrencyPumpkin.png" },
-- Shop-Angebote
shop = {
initial = {
{ name="Group of Pumpkins", image="PumpkinGroup.png", token=2700 },
{ name="Hat of Pumpkins", image="PumpkinHat.png", token=6000 },
{ name="Bucket of Pumpkins", image="PumpkinBucket.png", token=16500 },
},
after = {
{ name="Cart of Pumpkins", image="PumpkinBarrow.png", token=34500 },
{ name="Cauldron of Pumpkins", image="PumpkinCauldron.png", token=72000 },
{ name="Coffin of Pumpkins", image="PumpkinCoffin.png", token=187500 },
{ name="Carriage of Pumpkins", image="PumpkinCoach.png", token=390000 },
},
},
-- Austausch (verkürzte, saubere Struktur – du kannst jederzeit erweitern)
exchange = {
chests_by_level = {
{ range="1-64", icon="RareChest.png", item="rare_chest", amount=1, price=2500, limit=25 },
{ range="65-129", icon="EpicChest.png", item="epic_chest", amount=1, price=2500, limit=25 },
{ range="130-299", icon="LegendaryChest.png", item="legendary_chest", amount=1, price=2500, limit=25 },
{ range="300-", icon="MythicChest.png", item="mythic_chest", amount=1, price=2500, limit=25, req_gear_power = "5e9" },
},
chests_by_stars = {
{ range="1-99", icon="GoldChest.png", item="golden_chest", amount=1, price=2500, limit=25 },
{ range="100-144", icon="DiamondChest.png", item="diamond_chest", amount=1, price=2500, limit=25 },
{ range="145-189", icon="OpalChest.png", item="opal_chest", amount=1, price=2500, limit=25 },
{ range="190-", icon="EmeraldChest.png", item="emerald_chest", amount=1, price=2500, limit=25 },
},
chests_by_oracle = {
{ range="1-97", icon="SolarChest.png", item="solar_chest", amount=1, price=2500, limit=25 },
{ range="98-148", icon="NebulaChest.png", item="nebula_chest", amount=1, price=2500, limit=25 },
{ range="149-200", icon="CosmicChest.png", item="cosmic_chest", amount=1, price=2500, limit=25 },
{ range="201-", icon="GalaxyChest.png", item="galaxy_chest", amount=1, price=2500, limit=25 },
},
currencies = {
{ icon="CurrencyExoticCoin.png", item="exotic_coins", amount=500, price=1250, limit=50 },
{ icon="CurrencyPickaxe.png", item="pickaxe", amount=1, price=375, limit=70 },
{ icon="CurrencyStrangeDust.png",item="strange_dust", amount=20, price=500, limit=300 },
{ icon="CurrencyHonor.png", item="honor", amount=5, price=1500, limit=40 },
{ icon="CurrencyBeer.png", item="beer", amount=500, price=1250, limit=150 },
{ icon="CurrencyMeteorite.png", item="meteorite", amount=150, price=1500, limit=50 },
{ icon="CurrencyGoldenKeys.png", item="golden_key", amount=1, price=3000, limit=25 },
},
},
avatars = {
[2022] = {
{ file="AvatarMaxwell.png", title="Maxwell, the Pumpkin Head", cost=21000 },
{ file="AvatarBilly.png", title="Billy, the Happy Ghost", cost=21000 },
{ file="AvatarYvonne.png", title="Yvonne, The Trickster", cost=21000 },
{ file="AvatarLucien.png", title="Lucien, The Vampire", cost=21000 },
},
[2023] = {
{ file="AvatarMaxwell.png", title="Maxwell, the Pumpkin Head", cost=21000 },
{ file="AvatarEmberlyn.png", title="Emberlyn, the Bowian Witch",cost=21000 },
{ file="AvatarSpindle.png", title="Spindle, the Crafty Weaver",cost=21000 },
{ file="AvatarTrashy.png", title="Trashy, the Wacky Bin", cost=21000 },
},
[2024] = {
{ file="AvatarMaxwell.png", title="Maxwell, the Pumpkin Head", cost=21000 },
{ file="AvatarCatrina.png", title="Catrina, the Undying Beauty", cost=21000 },
{ file="AvatarBaron.png", title="Baron, the Voodoo Master", cost=21000 },
{ file="AvatarSonar.png", title="Sonar, the Nocturnal Messenger", cost=21000 },
},
},
history = {
{ year=2022, start="2022-10-24", ["end"]="2022-11-07" },
{ year=2023, start="2023-10-20", ["end"]="2023-11-03", alt_platform="2023-10-24 bis 2023-11-07" },
{ year=2024, start="2024-10-25", ["end"]="2024-11-08" },
},
},
}
return E