-
Notifications
You must be signed in to change notification settings - Fork 0
/
aoa.lua
50 lines (48 loc) · 1.81 KB
/
aoa.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
register_blueprint "runtime_ancient"
{
flags = { EF_NOPICKUP },
callbacks = {
on_enter_level = [[
function ( self )
world:add_experience(world:get_player(), 3000)
end
]],
}
}
register_blueprint "challenge_ancient"
{
text = {
name = "Angel from Ancient Time",
desc = "{!MEGA CHALLENGE PACK MOD}\nLong ago, another force fought demons: the ancients. Play as one of them, but don’t lose any time exploring the moons of Jupiter: defeat the Harbinger, now!\n\nRating : {RHARD}",
rating = "HARD",
abbr = "AoA",
letter = "A",
},
challenge = {
type = "challenge",
},
callbacks = {
on_create_player = [[
function( self, player )
local egun = player:child("pistol") or player:child("rpistol")
if egun then world:destroy( egun ) end
local eammo = player:child("ammo_9mm") or player:child("ammo_44")
if eammo then world:destroy( eammo ) end
local emed = player:child("medkit_small")
if emed then world:destroy( emed ) end
player:attach( "ancient_medkit" )
player:attach( "ancient_medkit" )
player:attach( "ancient_pack_hallowed" )
player:attach( "ancient_elixir_health" )
player:attach( "ancient_elixir_blood" )
player:attach( "ancient_elixir_power" )
player:attach( "ancient_elixir_fire" )
player:attach( "exo_ancient_gun" )
player:attach( "exo_ancient_sword" )
player:attach( "ancient_relic_ancient_armband" )
player:attach( "runtime_ancient" )
world.data.current = 25
end
]],
},
}