teknomunk
|
74882d2bbf
|
Convert flying bobber to vl_projectile, modify mcl_throwing.register_throwable_object() to check for _vl_projectile field
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
b904204c78
|
Remove redundant check
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
1cceb7378d
|
Correct behavior when ignore_gravity flag is true, fix mob projectile velocity calculation, add missing entity_def lookup
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
c8512d29bd
|
Convert mcl_mobs.register_arrow() to use vl_projectile, tested only with shulker bullet so far
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
39e93b7a54
|
Restore tipped arrow entity registration as near copy of mcl_bows:arrow_entity
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
d187b3bf55
|
Small optimization for calculating _allow_punch
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
ed373e9f37
|
Remove unnecessary vectory copy
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
9f9c590c8d
|
Make splash, lingering and othe projectiles hit players
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
ca63f1ce58
|
Stop minimum draw arrows from hitting player that shot them
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
52946b3a26
|
Prevent collisions with entities until projectile is at least one node from where it started (to prevent always hitting yourself), modify mcl_bows.shoot_arrow() and mcl_bows_s.shoot_arrow_crossbow() to use vl_projectile.create(), fix projectiles damaging players
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
6d838e7fbd
|
Inline dir_to_pitch() and use correct formula for pitch
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
36d20e6f48
|
Address most of kno10's comments about mcl_utils/node.lua and a couple others, fix lingering potion sound
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
adb6e22ce5
|
Address more review comments
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
29bfd6ce21
|
Make arrows damage players, update API documentation, fix several crashes that occurred when arrows hit a player
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
e212f3dd08
|
Fix picking up tipped arrows
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
0b500462ab
|
Fix crash with splash potions of harming, make splash particles match potion color
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
55c8f4cb84
|
Fix splash potions, fix crash when projectiles hit unknown nodes
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
227bbebe3b
|
Remove logging in tipped_arrows, prevent crash when spawning chicks, add extra safety check in vl_projectile.collides_with_solids
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
26b858c463
|
Lingering potions should not collide with liquids, change behaviors assersion loop to catch nil members
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
ca8f7eb700
|
Convert lingering potion to vl_projectile
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
eca43272bb
|
Convert splash potion to vl_projectile, remove dead code, precompute several values in splash potion code, add check of behaviors array in vl_projectile
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
a7342eb024
|
Fix crash related to nil _time_in_air
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
5e024bf57f
|
Revert entity->object for three lines
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
05be7b0922
|
Fix typo _ -> .
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
1b824cebb3
|
Add empty line
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
436033eba7
|
Fix typo in api.md, add TODO, change entity -> object
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
52d2c4a26e
|
Fix typos documentation, add ignore_gravity and liquid_drag options, use vl_projectile.register() for enter pearl, move projectile physics to vl_projectile add hook for future vl_physics support
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
5bd1bcd425
|
Update mcl_util.get_double_container_neighbor_pos() to use vector.offset
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
16ddcf99eb
|
Resolve more review comments, fix crash
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
3b0690dcc3
|
Resolve review comments
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
52381a1f58
|
Remove debug print
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
149e69452e
|
Give arrows a maximum lifetime to prevent them from getting stuck in mid-air forever
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
f55f647f2e
|
Fix documentation for raycast_collides_with_entities
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
1ee97a2e73
|
Add API documentation, minor API cleanup
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
6eab0433ab
|
Convert rocket to use vl_projectile API using mcl_bows:arrow as a template, remove some dead code
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
1d153f4f2a
|
Fold tipped arrows into standard arrows and handle effects via item definition callback, remove arrows when they collide with entities, update handling of removing projectiles
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
d35246135b
|
Fix crash on startup
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
0140d1b81b
|
More refactoring to generalize arrow code into projectile
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
f43bbdd78b
|
Start mcl_bows:arrow_entity refactor
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
d32d59cde2
|
Remove _thrower from vl_projectile (uses self._vl_projectile.owner instead), reorder some code
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
01d3159dd3
|
Finish reworking all items in mcl_throwing
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
b1b3b082a1
|
Add in vl_projectile, add mcl_util.match_node_to_filter
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
a1ebc2c040
|
Move node related functions to mods/CORE/mcl_util/nodes.lua
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
1c07325c76
|
Create vl_projectile and refactor snowball and partially refactor ender pearl
|
2024-10-11 11:24:02 +02:00 |
the-real-herowl
|
fd6cac5f0c
|
Merge pull request 'Fix fog tint in overworld, apply memory leak fix, fix rain->clear clouds' (#4669) from weather-fixes into master
Reviewed-on: VoxeLibre/VoxeLibre#4669
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
|
2024-10-11 07:14:01 +02:00 |
teknomunk
|
e864cc19ed
|
Make fog_tint_type = "default" when weather is present to match behavior at 0.87.2
|
2024-10-09 01:05:20 +02:00 |
teknomunk
|
66c3c014a1
|
Make sure fog tints are preserved during weather is present
|
2024-10-09 01:05:20 +02:00 |
teknomunk
|
7807093b50
|
Another correction to color interpolation, change day color from layer position 0.15 to 0.50
|
2024-10-09 01:05:20 +02:00 |
teknomunk
|
f6c3f4bd16
|
Correct value clamping
|
2024-10-09 01:05:20 +02:00 |
teknomunk
|
96a03b1923
|
Remove posibility of nil sky colors in overworld, add line break
|
2024-10-09 01:05:20 +02:00 |