User Tools

Site Tools


en:rpd:serviceman_npc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:rpd:serviceman_npc [2026/01/01 19:45] – namespace move Mikeen:rpd:serviceman_npc [2026/01/01 19:47] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Serviceman NPC ======
 +
 +{{ rpd:images:servicemannpc_sprite.png|Serviceman NPC Sprite }}
 +
 +The **Serviceman NPC** is an NPC that appears in certain special areas of the dungeon. He provides a service that allows players to watch reward videos in exchange for gold rewards.
 +
 +==== Description ====
 +The Serviceman NPC is a regular worker of local establishments who offers a service to adventurers. He requires an internet connection to operate his reward video system, and has a limit on how many times an adventurer can use his service.
 +
 +==== Mechanics ====
 +  * **Service Limit**: Players can use the Serviceman NPC's service up to (4 + Hero Level) times per game (this limit is reset when starting a new game)
 +  * **Rewards**: Each reward video watched provides a gold reward that increases over time:
 +    * Base reward: 150 gold
 +    * Bonus: Additional 50 gold for every 5 videos watched (150, 150, 150, 150, 150, 200, 200, 200, 200, 200, 250...)
 +  * **Internet Requirement**: Requires an active internet connection to function
 +  * **Limit Tracking**: The number of videos watched persists across the game (static field filmsSeen)
 +
 +==== Behavior ====
 +  * When approached, the Serviceman NPC opens a window to show available reward video content
 +  * If the limit has been reached or no internet is available, he will inform the player accordingly
 +  * The service limit (filmsSeen) resets when starting a new game via the resetLimit() method
 +
 +==== Location ====
 +  * [[en:rpd:cinema|Cinema Level]]
 +  * [[en:rpd:theater|Theater Level]]
 +
 +==== Code References ====
 +  * Java Class: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/npc/ServiceManNPC.java|ServiceManNPC.java]]
 +  * Entity Kind: getEntityKind() returns "ServiceManNPC" in Java code
 +  * String Resources:
 +    * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2803-L2811|ServiceManNPC strings in strings_all.xml]]
 +    * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L2811-L2819|Russian strings in strings_all.xml]]
 +
 +==== See Also ====
 +  * [[en:rpd:cinema|Cinema Level]]
 +  * [[en:rpd:theater|Theater Level]]
 +  * [[en:rpd:npcs|NPCs]]
 +
 +{{tag> rpd npcs}}