Compare commits

...

5 Commits

Author SHA1 Message Date
Dallas DeBruin 05f891c012 Compress Textures 2021-01-06 13:02:57 -05:00
ExeVirus 1c5fa56e2b
Update mod.conf 2021-01-02 19:41:23 -05:00
ExeVirus 72a1f91b3e Remove unsuccessful 2021-01-02 17:35:12 -05:00
ExeVirus 04a690cb12 Adjustments 2021-01-02 17:18:51 -05:00
Dallas DeBruin f3d6ee0dd3 Optimizing (Compressing) files 2020-12-29 14:59:19 -05:00
34 changed files with 1297 additions and 4359 deletions

View File

@ -95,7 +95,7 @@ local fire_element_def = {
if adv_core.setting("enable_element_particles", true) then
self.particles = create_particles(self.object:get_pos(), "fire")
end
self.sound = minetest.sound_play("adv_core_spawn_sound", {object = self.object, gain=0.5, max_hear_distance=80, loop = false})
self.sound = minetest.sound_play("adv_core_spawn_sound", {object = self.object, gain=0.9, max_hear_distance=80, loop = false})
self.lifetime = minetest.get_us_time() + adv_core.setting("element_lifetime", 60)*1000000
end,
@ -152,7 +152,7 @@ local water_element_def = {
if adv_core.setting("enable_element_particles", true) then
self.particles = create_particles(self.object:get_pos(), "water")
end
self.sound = minetest.sound_play("adv_core_spawn_sound", {object = self.object, gain=0.5, max_hear_distance=80, loop = false})
self.sound = minetest.sound_play("adv_core_spawn_sound", {object = self.object, gain=0.9, max_hear_distance=80, loop = false})
self.lifetime = minetest.get_us_time() + adv_core.setting("element_lifetime", 60)*1000000
end,
@ -209,7 +209,7 @@ local earth_element_def = {
if adv_core.setting("enable_element_particles", true) then
self.particles = create_particles(self.object:get_pos(), "earth")
end
self.sound = minetest.sound_play("adv_core_spawn_sound", {object = self.object, gain=0.5, max_hear_distance=80, loop = false})
self.sound = minetest.sound_play("adv_core_spawn_sound", {object = self.object, gain=0.9, max_hear_distance=80, loop = false})
self.lifetime = minetest.get_us_time() + adv_core.setting("element_lifetime", 60)*1000000
end,
@ -267,7 +267,7 @@ local air_element_def = {
if adv_core.setting("enable_element_particles", true) then
self.particles = create_particles(self.object:get_pos(), "air")
end
self.sound = minetest.sound_play("adv_core_spawn_sound", {object = self.object, gain=0.5, max_hear_distance=80, loop = false})
self.sound = minetest.sound_play("adv_core_spawn_sound", {object = self.object, gain=0.9, max_hear_distance=80, loop = false})
self.lifetime = minetest.get_us_time() + adv_core.setting("element_lifetime", 60)*1000000
end,

View File

@ -1,2 +1,2 @@
name = adventure_core
description = Auto Collision/Selection Loading Box mod
description = Adventuring Resource System

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -108,7 +108,7 @@ if adv_core.setting("enable_builtin_nodes", true) then
type = "fixed",
fixed = {{0.895, -0.455, -0.785, -0.865, -0.015, 0.645},{0.235, -0.015, -0.235, -0.205, 1.195, 0.095},},
},
tiles = {"rune.png"},
tiles = {"rune.jpg"},
groups = {oddly_breakable_by_hand=2},
})
@ -170,7 +170,7 @@ if adv_core.setting("enable_builtin_nodes", true) then
type = "fixed",
fixed = {-0.4,-0.5,-0.4,0.4,0.42,0.4},
},
tiles = {"axe_stump.png"},
tiles = {"axe_stump.jpg"},
groups = {oddly_breakable_by_hand=2},
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 642 KiB

After

Width:  |  Height:  |  Size: 490 KiB

View File

@ -34,7 +34,7 @@ adventure_core.enable_starting_items (Enable Starting Items) bool true
adventure_core.enable_builtin_nodes (Enable Builtin Nodes) bool true
#Base time between element spawns in seconds. Per player value. [40-3600]
adventure_core.base_time_between_spawns (Base Time Between Spawns) int 80 40 3600
adventure_core.base_time_between_spawns (Base Time Between Spawns) int 60 30 3600
#Time Spread between element spawns, in seconds, randomly between (-value, +value) [0-30]
adventure_core.spawn_time_spread (Time Spread Between Spawns) int 15 0 30

View File

@ -9,7 +9,7 @@
-- --------------------------------
--Returns true on success, false on failure
local time_between = adv_core.setting("base_time_between_spawns", 80) * 1000000
local time_between = adv_core.setting("base_time_between_spawns", 60) * 1000000
local spread = adv_core.setting("spawn_time_spread", 15) * 1000000
local base_dist = adv_core.setting("base_distance", 500)
local spawn_adjust = adv_core.setting("spawn_adjustment_time", 180) * 1000000
@ -129,7 +129,6 @@ minetest.register_globalstep(function(dtime)
end
adv_core.mod_storage:set_string(name .. "countdown", math.max(min_time, countdown)) --math.max(countdown, min_time) * 1000000)
else
minetest.chat_send_all("spawn_unsuccessful")
adv_core.mod_storage:set_string(name .. "countdown", 2000000) -- try again in 2 seconds...
end
adv_core.mod_storage:set_string(name .. "old_time", new_time)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
textures/axe_stump.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

After

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 708 B

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

After

Width:  |  Height:  |  Size: 67 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 727 B

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 974 B

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 728 B

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

BIN
textures/rune.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB