Sören Zapp

Results 130 comments of Sören Zapp

The first one will not be possible. Second might seem like the way to go. For each book, analyze the bytecode of the item's on_state function to find the waypoint...

It seems that slight adjustments to the linter rules are necessary to ensure similar behavior as the flake8/black/isort alternative. Most of the rules that flake8 ignores in the `setup.cfg` are...

Does this happen by the program or are the attitudes reset by script? E.g. is a function like [`B_InitGuildAttitudes`](https://github.com/AmProsius/gothic-1-community-patch/blob/2775fbc70322594ed1d00c96717143f0c2af5af7/scriptbase/_work/Data/Scripts/Content/AI/AI_Intern/B_Functions.d#L670-L688) responsible?

@pawbuj1981 Thanks. unfortunately that approach won’t work here, because we cannot use AI variables. You cannot add new AI variables in a script patch. (I think I had also mentioned...

@AmProsius are you aware of any mod that has fixed this issue? I haven’t looked at this yet and I wonder whether the bug originates in the scripts or engine.

> I know that the Definitive Edition fixed this behavior, but I didn't get the scripts from Issues yet. I checked with DecDat, and in DE the attitudes are just...

For each NPC their attitudes are written and read from savegames. However, the individual attitudes of all NPC are overwritten in `oCGame::InitNpcAttitudes` through `Wld_ExchangeGuildAttitudes` called from `B_InitGuildAttitudes` at every loading....

I think “chargeable” was actually a more accurate description than “rechargeable”. https://github.com/AmProsius/gothic-1-community-patch/blob/2775fbc70322594ed1d00c96717143f0c2af5af7/scriptbase/_work/Data/Scripts/Content/Story/Text.d#L396-L397 There are essentially four types of spells in Gothic. Instant (e.g. firebolt), chargeable (e.g. fireball), investing (e.g. healing),...

> That may be an error in the scripts as well. [Chargeable](https://www.dict.cc/?s=chargeable) has a different meaning than [rechargable](https://www.dict.cc/?s=aufladbar). Ah, I get what you are saying: That “to charge” may both...

https://github.com/AmProsius/gothic-1-community-patch/blob/f386ca443496783307a91437f00772b92802a4dd/scriptbase/_work/Data/Scripts/Content/Story/B/B_GiveXP.d#L36-L52 changed to ```D func void B_DeathXP() { if (Npc_IsPlayer(self)) { return; }; PrintDebugNpc (PD_ZS_FRAME, "B_DeathXP"); PrintGlobals (PD_ZS_CHECK); if C_NpcIsHuman(self) && Npc_WasInState(self, ZS_Unconscious) { PrintDebugNpc (PD_ZS_CHECK, "...Opfer ist bewußtloser Mensch!");...