Home
last modified time | relevance | path

Searched refs:npc_name (Results 1 – 25 of 38) sorted by relevance

12

/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/ados/library/
H A DWriterNPC.java14 final static String npc_name = "Marie-Henri"; field in WriterNPC
31 final SpeakerNPC npc = new SpeakerNPC(npc_name) { in buildNPC()
56 npc.setDescription("You see " + npc_name + ", a famous french writer."); in buildNPC()
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/script/
H A DHandleTransitions.java60 final String npc_name = args.get(0); in execute() local
61 if(npc_name.equals("")) { in execute()
65 SpeakerNPC npc=SingletonRepository.getNPCList().get(npc_name); in execute()
67 admin.sendPrivateText("no such NPC in game ("+npc_name+")."); in execute()
/dports/games/hypatia_engine/hypatia_engine-0.3.1/hypatia/
H A Dgame.py364 for npc_name in npcs_ini.sections():
366 if npcs_ini.has_option(npc_name, 'walkabout'):
368 walkabout_name = npcs_ini.get(npc_name, 'walkabout')
372 position_x = npcs_ini.getint(npc_name, 'position_x')
373 position_y = npcs_ini.getint(npc_name, 'position_y')
382 if npcs_ini.has_option(npc_name, 'say'):
386 say_text = npcs_ini.get(npc_name, 'say')
/dports/games/exult/exult-snapshot-v1.7.0.20211128/gamemgr/
H A Dsigame.cc1272 char npc_name[max_len + 1]; in new_game() local
1274 npc_name[0] = 0; in new_game()
1354 npc_name[max_len] = '\0'; in new_game()
1370 int len = strlen(npc_name); in new_game()
1372 npc_name[len] = ' '; in new_game()
1373 npc_name[len + 1] = 0; in new_game()
1418 npc_name[strlen(npc_name) - 1] = 0; in new_game()
1423 int len = strlen(npc_name); in new_game()
1429 npc_name[len] = chr; in new_game()
1430 npc_name[len + 1] = 0; in new_game()
[all …]
H A Dbggame.cc1983 char npc_name[max_name_len + 1]; in new_game() local
1985 npc_name[0] = 0; in new_game()
2087 npc_name[max_name_len] = '\0'; in new_game()
2103 int len = strlen(npc_name); in new_game()
2105 npc_name[len] = ' '; in new_game()
2106 npc_name[len + 1] = 0; in new_game()
2151 npc_name[strlen(npc_name) - 1] = 0; in new_game()
2156 int len = strlen(npc_name); in new_game()
2162 npc_name[len] = chr; in new_game()
2163 npc_name[len + 1] = 0; in new_game()
[all …]
/dports/games/el/Eternal-Lands-1.9.5.9-1/
H A Ddialogues.c53 unsigned char npc_name[NPC_NAME_BUF_LEN] = ""; variable
247 if (strcmp((const char *)npc_name, text_log_table[i].name) == 0) in text_log_get_npc_setting()
260 safe_snprintf(str, str_len, "%s: %c", npc_name, to_color_char(c_grey1)); in text_log_write()
273 if (strcmp((const char *)npc_name, text_log_table[i].name) == 0) in text_log_modify_npc_setting()
282 text_log_add_new_npc((const char *)npc_name); in text_log_modify_npc_setting()
352 npc_name_width = get_string_width_zoom(npc_name, win->font_category, win->current_scale_small); in display_dialogue_handler()
437 …draw_string_small_zoomed(npc_name_x_start, win->len_y - bot_line_height, npc_name, 1, win->current… in display_dialogue_handler()
798 copy_to_clipboard((const char *)npc_name); in cm_npcname_handler()
807 !(npc_name_len = strlen((char *)npc_name)) || in cm_npcname_handler()
824 safe_strcat(str, (char *)npc_name, str_len); in cm_npcname_handler()
H A Dmultiplayer.c715 char cur_npc_name[sizeof(npc_name)]; in process_message_from_server()
716 safe_strncpy2(cur_npc_name, (char *)npc_name, sizeof(npc_name), sizeof(npc_name)); in process_message_from_server()
717 safe_strncpy((char *)npc_name, "<None>", sizeof(npc_name)); in process_message_from_server()
719 safe_strncpy2((char *)npc_name, cur_npc_name, sizeof(npc_name), sizeof(npc_name)); in process_message_from_server()
1554 safe_strncpy2((char*)npc_name, (char*)&in_data[3], sizeof(npc_name), 20); in process_message_from_server()
H A Ddialogues.h17 extern unsigned char npc_name[NPC_NAME_BUF_LEN]; /*!< buffer for the NPCs name */
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dkill_tracker.cpp92 for( const auto &npc_name : npc_kills ) { in get_kills_text() local
94 data.push_back( string_format( "%4d ", 1 ) + colorize( "@ " + npc_name, c_magenta ) ); in get_kills_text()
H A Ddialogue_win.cpp52 npc_name = name; in print_header()
61 print_header( npc_name ); in clear_window_texts()
H A Ddialogue_win.h57 std::string npc_name; variable
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dkill_tracker.cpp92 for( const auto &npc_name : npc_kills ) { in get_kills_text() local
94 data.push_back( string_format( "%4d ", 1 ) + colorize( "@ " + npc_name, c_magenta ) ); in get_kills_text()
H A Ddialogue_win.cpp52 npc_name = name; in print_header()
61 print_header( npc_name ); in clear_window_texts()
H A Ddialogue_win.h57 std::string npc_name; variable
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/core/
H A Dconverse.cpp270 set_svar(U6TALK_VAR_NPC_NAME, npc_name(npc_num)); in init_variables()
361 DEBUG(0, LEVEL_INFORMATIONAL, "Begin conversation with \"%s\" (npc %d)\n", npc_name(n), n); in start()
480 nameret = npc_name(130); in show_portrait()
485 nameret = npc_name(n); in show_portrait()
501 const char *Converse::npc_name(uint8 num) { in npc_name() function in Ultima::Nuvie::Converse
H A Dconverse.h187 const char *npc_name(uint8 num);
/dports/games/adonthell/adonthell-0.3.8/src/
H A Ddialog.h134 const string & npc_name () { return npc_name_; } in npc_name() function
H A Ddialog_screen.cc190 set_name (dlg->npc_name ()); in run()
/dports/games/freedroidrpg/freedroidrpg-0.16.1/src/lua/
H A DluaFD_npc.c145 const char *npc_name = luaL_checkstring(L, 2); in LUAFD_DOC() local
147 self->enemy_ref->short_description_text = strdup(npc_name); in LUAFD_DOC()
H A DluaFD_tux.c826 const char *npc_name = luaL_checkstring(L, 2); in LUAFD_DOC() local
827 struct npc *npc = npc_get(npc_name); in LUAFD_DOC()
/dports/games/scummvm/scummvm-2.5.1/engines/glk/adrift/
H A Dscvars.cpp717 const sc_char *npc_name; in var_get_system() local
723 npc_name = prop_get_string(bundle, "S<-sis", vt_key); in var_get_system()
724 if (sc_strempty(npc_name)) in var_get_system()
725 npc_name = "[Character unknown]"; in var_get_system()
727 return var_return_string(npc_name, type, vt_rvalue); in var_get_system()
/dports/games/scare/scare-1.3.10/source/
H A Dscvars.c817 const sc_char *npc_name; in var_get_system() local
823 npc_name = prop_get_string (bundle, "S<-sis", vt_key); in var_get_system()
824 if (sc_strempty (npc_name)) in var_get_system()
825 npc_name = "[Character unknown]"; in var_get_system()
827 return var_return_string (npc_name, type, vt_rvalue); in var_get_system()
/dports/games/valyriatear/ValyriaTear-1.1.0/data/entities/
H A Dmap_sprites.lua685 function CreateNPCSprite(Map, name, npc_name, x, y, layer)
698 sprite:SetName(npc_name);
/dports/games/exult/exult-snapshot-v1.7.0.20211128/
H A Dgame.cc284 char npc_name[16]; in show_menu() local
285 snprintf(npc_name, 16, "Exult"); in show_menu()
/dports/games/freedroidrpg/freedroidrpg-0.16.1/src/
H A Dluaconfig.c958 const char *npc_name; in lua_npc_list_ctor() local
960 npc_name = lua_tostring(L, -1); in lua_npc_list_ctor()
961 npc_add(npc_name); in lua_npc_list_ctor()

12