You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using the effect "spawn_item" as an "extra_effect" spell on a mob (didnt test on NPC), spawns the item on the player regardless of restrictions (like valid target, or targeted ids), it ignores range too (like instead of spawnig it one the x tiles away mob it spawns it in your inventory).
expected it to spawn the item on the ground on the tile target
Steps To Reproduce
make main spell
make a spawn_item extra_effect spell
cast spell
check where the item spawned
Screenshots
No response
Versions and configuration
15:53:43.943 : Starting log.
15:53:43.943 INFO : Cataclysm BN version ac7253c 64-bit
15:53:43.944 INFO : C locale on startup: 'C'
15:53:43.944 INFO : C++ locale on startup: 'C'
15:53:43.978 INFO : Detected system UI language as 'en_US'
15:53:43.978 INFO : SDL version used during compile is 2.26.2
15:53:43.978 INFO : SDL version used during linking and in runtime is 2.26.2
15:53:47.428 INFO : Number of render drivers on your system: 6
15:53:47.428 INFO : Render driver: 0/direct3d
15:53:47.428 INFO : Render driver: 1/direct3d11
15:53:47.428 INFO : Render driver: 2/direct3d12
15:53:47.428 INFO : Render driver: 3/opengl
15:53:47.428 INFO : Render driver: 4/opengles2
15:53:47.428 INFO : Render driver: 5/software
15:53:47.457 INFO : Set debug classes to: [DEBUGMSG MAIN LUA]
15:53:48.003 INFO : Active renderer: 3/opengl
15:53:49.137 INFO : Active audio driver: wasapi
15:53:49.171 INFO : Opened mixer with specs: 44100 Hz, 2 channel(s), format 0x8010
15:53:49.697 INFO : Language set to 'en_US'
15:53:49.697 INFO : C locale set to 'English_United States.1252'
15:53:49.697 INFO : C++ locale set to 'C'
15:53:51.802 INFO : LAPI version: 2
15:53:51.828 INFO LUA : Lua online.
15:54:43.386 INFO : Loaded tileset: UNDEAD_PEOPLE_BASE
15:55:20.520 INFO : GAME REPORT:
OS: Windows
OS Version: MINGW/CYGWIN/MSYS2 on unknown Windows version
didnt test the issue as a main spell, but i guess is the same problem, since the only difference would be the valid target difference (like setting it to target ally, the code wouldnt let you cast the spell, but if targets and ally it would spawn it on you)
The text was updated successfully, but these errors were encountered:
Ignaramico
changed the title
spawn_item effect; always targets player, and ignores restrictions if its an extra effect spell
spawn_item effect; always spawns on player, and ignores restrictions if its an extra effect spell
Dec 3, 2024
Describe the bug
using the effect "spawn_item" as an "extra_effect" spell on a mob (didnt test on NPC), spawns the item on the player regardless of restrictions (like valid target, or targeted ids), it ignores range too (like instead of spawnig it one the x tiles away mob it spawns it in your inventory).
expected it to spawn the item on the ground on the tile target
Steps To Reproduce
make main spell
make a spawn_item extra_effect spell
cast spell
check where the item spawned
Screenshots
No response
Versions and configuration
15:53:43.943 : Starting log.
15:53:43.943 INFO : Cataclysm BN version ac7253c 64-bit
15:53:43.944 INFO : C locale on startup: 'C'
15:53:43.944 INFO : C++ locale on startup: 'C'
15:53:43.978 INFO : Detected system UI language as 'en_US'
15:53:43.978 INFO : SDL version used during compile is 2.26.2
15:53:43.978 INFO : SDL version used during linking and in runtime is 2.26.2
15:53:47.428 INFO : Number of render drivers on your system: 6
15:53:47.428 INFO : Render driver: 0/direct3d
15:53:47.428 INFO : Render driver: 1/direct3d11
15:53:47.428 INFO : Render driver: 2/direct3d12
15:53:47.428 INFO : Render driver: 3/opengl
15:53:47.428 INFO : Render driver: 4/opengles2
15:53:47.428 INFO : Render driver: 5/software
15:53:47.457 INFO : Set debug classes to: [DEBUGMSG MAIN LUA]
15:53:48.003 INFO : Active renderer: 3/opengl
15:53:49.137 INFO : Active audio driver: wasapi
15:53:49.171 INFO : Opened mixer with specs: 44100 Hz, 2 channel(s), format 0x8010
15:53:49.697 INFO : Language set to 'en_US'
15:53:49.697 INFO : C locale set to 'English_United States.1252'
15:53:49.697 INFO : C++ locale set to 'C'
15:53:51.802 INFO : LAPI version: 2
15:53:51.828 INFO LUA : Lua online.
15:54:43.386 INFO : Loaded tileset: UNDEAD_PEOPLE_BASE
15:55:20.520 INFO : GAME REPORT:
Bright Nights [bn],
Disable NPC Needs [no_npc_food],
Simplified Nutrition [novitamins],
No Rail Stations [No_Rail_Stations],
Prevent Zombie Revivication [no_reviving_zombies],
Limit Fungal Growth [limit_fungal_growth],
Item Category Overhaul [Item_Category_Overhaul],
UDP Redux [udp_redux],
A dueliste mod [Aduelistmmod]
]
15:55:28.839 : Log shutdown.
Additional context
didnt test the issue as a main spell, but i guess is the same problem, since the only difference would be the valid target difference (like setting it to target ally, the code wouldnt let you cast the spell, but if targets and ally it would spawn it on you)
The text was updated successfully, but these errors were encountered: