NpcLogicTest

3

tests

0

failures

0

ignored

0.016s

duration

100%

successful

Tests

Test Duration Result
testDistanceCalculation() 0.006s passed
testNpcDataStorage() 0.002s passed
testNpcInteractionRules() 0.008s passed

Standard output

NPC INTERACTION RULES:
1. Player must be within 2 units of NPC
2. Player must press E key
3. Both conditions must be true to show dialogue
4. Dialogue hides when player moves >3 units away