Project Hospital
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
master_awesome
intern
Posts : 7
Reputation : 0
Join date : 2021-08-26

treatment unavailable in room Empty treatment unavailable in room

Thu Aug 26, 2021 9:04 pm
Hi,

I encounter a problem where a certain treatment is unavailable in a certain room although it is written in the XML file.

1) the in game screenshot. IV TPA is the one in question. It should be available for HDU but it's not.

treatment unavailable in room Tpa_110


2) the code for TRT_TPA

treatment unavailable in room Tpa_210

It is clearly visible that hospitalizationand hospitalization_high appear in the tag section. ICU is in there as well and it works in game too.

3) the description for DIA_STK just in case it helps

treatment unavailable in room Tpa_di10

Any help is appreciated. I don't know what went wrong here. Just to clarify, I'm not the author of this mod, but the author stopped updating leaving this problem unchanged.
jan.oxymoron
jan.oxymoron
developer
Posts : 2194
Reputation : 314
Join date : 2018-03-23

treatment unavailable in room Empty Re: treatment unavailable in room

Fri Aug 27, 2021 3:02 pm
Hi, quickly checking the XML against similar treatments from the vanilla game - I think the required equipment block shouldn't be there at all - could you try to remove that and see if it fixes the problem?

Code:

    <RequiredEquipmentList>
            <RequiredEquipment>
                    <Tag>receipt</Tag>
            </RequiredEquipment>
    </RequiredEquipmentList>
avatar
master_awesome
intern
Posts : 7
Reputation : 0
Join date : 2021-08-26

treatment unavailable in room Empty Re: treatment unavailable in room

Fri Aug 27, 2021 3:51 pm
yes the problem is fixed. thank you
Sponsored content

treatment unavailable in room Empty Re: treatment unavailable in room

Back to top
Permissions in this forum:
You cannot reply to topics in this forum