Zum Inhalt springen


Modul:EventData: Unterschied zwischen den Versionen

Aus Firestone Idle RPG Wiki
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
Zeile 5: Zeile 5:
   halloween = {
   halloween = {
     banner    = "EventHalloween.png",
     banner    = "EventHalloween.png",
     type      = "calendar_event",     -- via i18n übersetzbar
     type      = "calendar_event",
     date      = "October",
     month      = "October",
     duration  = "2 weeks",
     duration  = "2 weeks",
     unlocks_at = "character_level_10", -- via i18n-Textbaustein renderbar
     unlocks_at = "character_level_10",


    -- Token/Währung
     token = { key = "pumpkin", icon = "CurrencyPumpkin.png" },
     token = { key = "pumpkin", icon = "CurrencyPumpkin.png" },


     drop = {
     -- Bilder, reine Dateinamen (Captions kommen aus I18n.sections.halloween.*)
       base  = { amount = 1, period = "28.8s" },
    images = {
       boost  = { amount = 2, period = "28.8s" },
       deco      = { file = "HalloweenDecorations.png" },
       offline_cap = "24h",
       ex_shop  = { file = "WitchsHut.png" },
      base_daily_gain = 3000,
       fullname  = { file = "Maxwell.png" },
     },
     },


     town_decor = true,
     -- Tausch (Exchange)
 
     exchange = {
     exchange = {
       chests_by_level = {
       chests_by_level = {
         { range = "1-64",   icon="RareChest.png",       title="Rare Chest",       price=2500, limit=25 },
         { range = "1-64",   icon="RareChest.png",     title="Rare Chest",     price=2500, limit=25 },
         { range = "65-129", icon="EpicChest.png",       title="Epic Chest",       price=2500, limit=25 },
         { range = "65-129", icon="EpicChest.png",     title="Epic Chest",     price=2500, limit=25 },
         { range = "130-299",icon="LegendaryChest.png", title="Legendary Chest", price=2500, limit=25 },
         { range = "130-299", icon="LegendaryChest.png", title="Legendary Chest", price=2500, limit=25 },
         { range = "300-",   icon="MythicChest.png",     title="Mythic Chest",     price=2500, limit=25 },
         { range = "300-",   icon="MythicChest.png",   title="Mythic Chest",   price=2500, limit=25 },
       },
       },
       chests_by_stars = {
       chests_by_stars = {
         { range = "1-99",   icon="GoldChest.png",       title="Golden Chest",     price=2500, limit=25 },
         { range = "1-99",   icon="GoldChest.png",     title="Golden Chest",   price=2500, limit=25 },
         { range = "100-144",icon="DiamondChest.png",   title="Diamond Chest",   price=2500, limit=25 },
         { range = "100-144", icon="DiamondChest.png",   title="Diamond Chest",   price=2500, limit=25 },
         { range = "145-189",icon="OpalChest.png",       title="Opal Chest",       price=2500, limit=25 },
         { range = "145-189", icon="OpalChest.png",     title="Opal Chest",     price=2500, limit=25 },
         { range = "190-",   icon="EmeraldChest.png",   title="Emerald Chest",   price=2500, limit=25 },
         { range = "190-",   icon="EmeraldChest.png",   title="Emerald Chest",   price=2500, limit=25 },
       },
       },
       chests_by_oracle = {
       chests_by_oracle = {
         { range = "1-97",   icon="SolarChest.png",     title="Solar Chest",     price=2500, limit=25 },
         { range = "1-97",   icon="SolarChest.png",     title="Solar Chest",     price=2500, limit=25 },
         { range = "98-148", icon="NebulaChest.png",     title="Nebula Chest",     price=2500, limit=25 },
         { range = "98-148", icon="NebulaChest.png",   title="Nebula Chest",   price=2500, limit=25 },
         { range = "149-200",icon="CosmicChest.png",     title="Cosmic Chest",     price=2500, limit=25 },
         { range = "149-200", icon="CosmicChest.png",   title="Cosmic Chest",   price=2500, limit=25 },
         { range = "201-",   icon="GalaxyChest.png",     title="Galaxy Chest",     price=2500, limit=25 },
         { range = "201-",   icon="GalaxyChest.png",   title="Galaxy Chest",   price=2500, limit=25 },
       },
       },
       currencies = {
       currencies = {
         { icon="CurrencyExoticCoin.png", title="Exotic Coins",   amount=500, price=1250, limit=50 },
         { icon="CurrencyExoticCoin.png", title="Exotic Coins", amount=500, price=1250, limit=50 },
         { icon="CurrencyPickaxe.png",    title="Pickaxe",       amount=1,   price=375,  limit=70 },
         { icon="CurrencyPickaxe.png",    title="Pickaxe",     amount=1,   price=375,  limit=70 },
         { icon="CurrencyStrangeDust.png",title="Strange Dust",   amount=20, price=500,  limit=300 },
         { icon="CurrencyStrangeDust.png",title="Strange Dust", amount=20,   price=500,  limit=300 },
         { icon="CurrencyHonor.png",      title="Honor",         amount=5,   price=1500, limit=40 },
         { icon="CurrencyHonor.png",      title="Honor",       amount=5,   price=1500, limit=40 },
         { icon="CurrencyBeer.png",      title="Beer",           amount=500, price=1250, limit=150 },
         { icon="CurrencyBeer.png",      title="Beer",         amount=500, price=1250, limit=150 },
         { icon="CurrencyMeteorite.png",  title="Meteorites",     amount=150, price=1500, limit=50 },
         { icon="CurrencyMeteorite.png",  title="Meteorites",   amount=150, price=1500, limit=50 },
         { icon="CurrencyGoldenKeys.png", title="Golden Key",     amount=1,   price=3000, limit=25 },
         { icon="CurrencyGoldenKeys.png", title="Golden Key",   amount=1,   price=3000, limit=25 },
       },
       },
       notes = { gp_req = "5e9" } -- 5 billion gear power
       notes = { gp_req = "5e9" }, -- 5 Mrd. GP
     },
     },


    -- Shop-Angebote
     shop = {
     shop = {
       initial = {
       initial = {
Zeile 64: Zeile 65:
         { name="Carriage of Pumpkins", image="PumpkinCoach.png",    token=390000 },
         { name="Carriage of Pumpkins", image="PumpkinCoach.png",    token=390000 },
       },
       },
      price_depends_on_platform = true,
     },
     },


    -- Avatare
     avatars = {
     avatars = {
       [2022] = {
       [2022] = {
Zeile 88: Zeile 89:
     },
     },


    -- History
     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 to 2023-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" },
       { year=2024, start="2024-10-25", ["end"]="2024-11-08" },
     },
     },
   },
   },
  -- christmas = { ... } -- später
}
}


return E
return E

Version vom 20. Oktober 2025, 04:34 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",
    month      = "October",
    duration   = "2 weeks",
    unlocks_at = "character_level_10",

    -- Token/Währung
    token = { key = "pumpkin", icon = "CurrencyPumpkin.png" },

    -- Bilder, reine Dateinamen (Captions kommen aus I18n.sections.halloween.*)
    images = {
      deco      = { file = "HalloweenDecorations.png" },
      ex_shop   = { file = "WitchsHut.png" },
      fullname  = { file = "Maxwell.png" },
    },

    -- Tausch (Exchange)
    exchange = {
      chests_by_level = {
        { range = "1-64",    icon="RareChest.png",      title="Rare Chest",      price=2500, limit=25 },
        { range = "65-129",  icon="EpicChest.png",      title="Epic Chest",      price=2500, limit=25 },
        { range = "130-299", icon="LegendaryChest.png", title="Legendary Chest", price=2500, limit=25 },
        { range = "300-",    icon="MythicChest.png",    title="Mythic Chest",    price=2500, limit=25 },
      },
      chests_by_stars = {
        { range = "1-99",    icon="GoldChest.png",      title="Golden Chest",    price=2500, limit=25 },
        { range = "100-144", icon="DiamondChest.png",   title="Diamond Chest",   price=2500, limit=25 },
        { range = "145-189", icon="OpalChest.png",      title="Opal Chest",      price=2500, limit=25 },
        { range = "190-",    icon="EmeraldChest.png",   title="Emerald Chest",   price=2500, limit=25 },
      },
      chests_by_oracle = {
        { range = "1-97",    icon="SolarChest.png",     title="Solar Chest",     price=2500, limit=25 },
        { range = "98-148",  icon="NebulaChest.png",    title="Nebula Chest",    price=2500, limit=25 },
        { range = "149-200", icon="CosmicChest.png",    title="Cosmic Chest",    price=2500, limit=25 },
        { range = "201-",    icon="GalaxyChest.png",    title="Galaxy Chest",    price=2500, limit=25 },
      },
      currencies = {
        { icon="CurrencyExoticCoin.png", title="Exotic Coins", amount=500,  price=1250, limit=50  },
        { icon="CurrencyPickaxe.png",    title="Pickaxe",      amount=1,    price=375,  limit=70  },
        { icon="CurrencyStrangeDust.png",title="Strange Dust", amount=20,   price=500,  limit=300 },
        { icon="CurrencyHonor.png",      title="Honor",        amount=5,    price=1500, limit=40  },
        { icon="CurrencyBeer.png",       title="Beer",         amount=500,  price=1250, limit=150 },
        { icon="CurrencyMeteorite.png",  title="Meteorites",   amount=150,  price=1500, limit=50  },
        { icon="CurrencyGoldenKeys.png", title="Golden Key",   amount=1,    price=3000, limit=25  },
      },
      notes = { gp_req = "5e9" }, -- 5 Mrd. GP
    },

    -- 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 },
      },
    },

    -- Avatare
    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
    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