text.flx question

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

text.flx question

Post by artaxerxes »

Exult Dev Team:

In the text.flx files there are entries like this:
/magic arrow//s

I understand the engine take special case of treating names starting with a '/' so that is deal with stackable items and the plurial form of those.

I also noticed that the french version of BG has the same system except when the description is composed, eg:
//lingot d'or/lingots d'or

The reason why is that french make the accord in gender and number also with adjectives to the opposite of english.

Could you please detail how the engine works when it reads an entry in text.flx containing one or more '/' in it ?

Thanks for the help.

Artaxerxes
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: text.flx question

Post by artaxerxes »

never mind

I've got it under objs/objs.cc:L935

Artaxerxes
Locked