Virtual building reconstruction method and device, equipment and storage medium

By introducing modification tools into virtual buildings, the problem of limited upgrade methods for virtual buildings is solved, enabling flexible attribute changes and diverse modification effects, reducing costs and increasing iteration speed.

CN121456940APending Publication Date: 2026-02-03TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411052693.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2026-02-03

AI Technical Summary

Technical Problem

Current technologies offer limited upgrade options for virtual buildings, making it difficult to flexibly select upgrade attributes, resulting in high costs and poor flexibility.

Method used

This paper provides a method for modifying virtual buildings, which changes the attributes of virtual buildings by displaying modification tools and supports the selection of multiple modification tools to achieve different modification effects.

Benefits of technology

It enables flexibility and diversity in virtual building transformation, reduces production costs, and allows for faster iteration and personalized attribute combinations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121456940A_ABST
    Figure CN121456940A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual building transformation method and device, equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: displaying at least one virtual building in a virtual environment; in response to a transformation operation for a first virtual building in the at least one virtual building, displaying at least one transformation prop, the transformation prop being used for changing the attribute of the first virtual building, different transformation props having different changing effects for the attribute of the virtual building; and in response to a selection operation for a first reconstruction prop in the at least one reconstruction prop, displaying a reconstructed first virtual building obtained after the first virtual building is reconstructed based on the first reconstruction prop. According to the method, the flexibility and diversity of virtual building reconstruction are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, equipment and storage medium for transforming virtual buildings. Background Technology

[0002] For virtual buildings in a virtual environment, their attributes can be changed by upgrading them. For example, the building area can be increased, the defense effect can be improved, and the production capacity can be increased.

[0003] In related technologies, a certain amount of virtual resources (such as virtual coins and virtual diamonds) are usually required to upgrade virtual buildings. For example, when a virtual building is upgraded from level 1 to level 2, its building area, defensive effect, and production capacity will definitely increase.

[0004] However, among the aforementioned technologies, the upgrade methods for virtual buildings with fixed building attributes (which can be pre-set by developers, with different building attributes corresponding to different building levels, and the set building attributes also changing synchronously when the level of the virtual building changes) are relatively simple. Summary of the Invention

[0005] This application provides a method, apparatus, equipment, and storage medium for transforming virtual buildings. The technical solution provided by this application includes the following aspects.

[0006] According to one aspect of the embodiments of this application, a method for modifying a virtual building is provided, the method comprising the following steps.

[0007] Display at least one virtual building located in a virtual environment;

[0008] In response to a modification operation on a first virtual building among the at least one virtual buildings, at least one modification tool is displayed, the modification tool being used to change the attributes of the first virtual building, and different modification tools having different effects on the attributes of the virtual building.

[0009] In response to the selection operation of the first modification tool among the at least one modification tool, the modified first virtual building obtained after modifying the first virtual building based on the first modification tool is displayed.

[0010] According to one aspect of the embodiments of this application, a device for modifying virtual buildings is provided, the device comprising the following modules.

[0011] A screen display module for displaying at least one virtual building located in a virtual environment;

[0012] The prop display module is used to display at least one modification prop in response to a modification operation on the first virtual building among the at least one virtual buildings. The modification prop is used to change the attributes of the first virtual building, and different modification props have different effects on the attributes of the virtual building.

[0013] The prop selection module is used to respond to the selection operation of the first modification prop among the at least one modification prop, and to display the modified first virtual building obtained after modifying the first virtual building based on the first modification prop.

[0014] According to one aspect of the embodiments of this application, a terminal device is provided, the terminal device including a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above-described method for modifying virtual buildings.

[0015] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, the computer program being loaded and executed by a processor to implement the above-described method for modifying virtual buildings.

[0016] According to one aspect of the embodiments of this application, a computer program product is provided, the computer program product including a computer program, the computer program being loaded and executed by a processor to implement the above-described method for modifying virtual buildings.

[0017] The technical solutions provided in this application can bring the following beneficial effects.

[0018] Compared to related technologies, where the modification of virtual buildings generally involves upgrading fixed building attributes, this application provides at least one modification tool to achieve different changes to the attributes of virtual buildings. This application supports the flexible selection of a first modification tool from at least one tool to modify the virtual building, demonstrating the flexibility and diversity of virtual building modification. Attached Figure Description

[0019] Figure 1 This is a schematic diagram of a computer system provided in one embodiment of this application;

[0020] Figure 2 It is an interface diagram of the virtual building renovation method provided by related technologies;

[0021] Figure 3 This is an interface diagram of a virtual building renovation method provided in one embodiment of this application;

[0022] Figure 4This is a flowchart of a method for modifying a virtual building according to an embodiment of this application;

[0023] Figure 5 This is a flowchart of a method for modifying a virtual building according to another embodiment of this application;

[0024] Figure 6 This is a flowchart of a method for modifying a virtual building according to another embodiment of this application;

[0025] Figure 7 This is a schematic diagram illustrating the selection of modification tools provided in one embodiment of this application;

[0026] Figure 8 This is a schematic diagram illustrating the upgrading and replacement of modification tools according to one embodiment of this application;

[0027] Figure 9 This is a block diagram of a method for modifying a virtual building according to an embodiment of this application;

[0028] Figure 10 This is a block diagram of a method for determining the output of a virtual building according to an embodiment of this application;

[0029] Figure 11 This is a flowchart of a method for modifying virtual plants according to an embodiment of this application;

[0030] Figure 12 This is a flowchart of a method for modifying a virtual pet according to an embodiment of this application;

[0031] Figure 13 This is a block diagram of a virtual building modification device provided in one embodiment of this application;

[0032] Figure 14 This is a block diagram of a virtual building modification device provided in one embodiment of this application;

[0033] Figure 15 This is a structural block diagram of a terminal device provided in one embodiment of this application. Detailed Implementation

[0034] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0035] First, a brief introduction to the terms used in the embodiments of this application:

[0036] Virtual environment: A virtual environment displayed (or provided) by an application while it is running on a terminal. This virtual environment can be a simulation of the real world, a semi-simulated / semi-fictional three-dimensional world, or a purely fictional three-dimensional world. The virtual environment can be any of a two-dimensional, 2.5-dimensional, or three-dimensional virtual environment. In some embodiments, the virtual environment includes virtual objects. For example, a virtual object includes at least one virtual character who can move within the virtual environment and acquire and modify virtual buildings. For example, a virtual object includes at least one virtual building, which may be provided by the application, freely designed by the virtual character, or manufactured using acquired virtual materials. For example, a virtual object may also include at least one modification tool, which can be used to modify the virtual building. For example, this modification tool may be provided by the application, designed by the virtual character, or obtained through the exchange of virtual resources.

[0037] Virtual objects refer to both movable and immovable objects in a virtual environment. Movable objects can be at least one of virtual characters, virtual animals, or anime characters. Immovable objects can be at least one of virtual buildings, virtual plants, or virtual terrain. Optionally, when the virtual environment is a three-dimensional virtual environment, virtual objects can be three-dimensional virtual models. Each virtual object has its own shape and volume in the three-dimensional virtual environment and occupies a portion of the space within it. Optionally, virtual objects are three-dimensional characters constructed based on three-dimensional human skeleton technology. These virtual objects achieve different external appearances by wearing different skins. In some implementations, virtual objects can also be implemented using 2.5D or 2D models; this application does not limit this. For example, depending on the method of controlling virtual objects, they can be divided into user-controlled virtual objects and server-controlled virtual objects. User-controlled virtual objects are movable objects in the virtual environment controlled by the client. Server-controlled virtual objects are virtual objects controlled by automatic control algorithms or artificial intelligence programs on the client or server. Server-controlled virtual objects include both movable and immovable objects in the virtual environment.

[0038] User Interface (UI) controls: Any visible control or element on the user interface of an application, such as images, input boxes, text boxes, buttons, labels, etc. Some UI controls respond to user actions; for example, a modification control is used to modify a virtual building. The user triggers the modification control to modify the virtual building using modification tools. The UI controls involved in the embodiments of this application include, but are not limited to: modification controls, upgrade controls, and replacement controls.

[0039] Please refer to Figure 1 This illustration shows a schematic diagram of a computer system provided in one embodiment of this application. The computer system may include: a terminal device 10 and a server 20.

[0040] Terminal device 10 includes, but is not limited to, mobile phones, tablets, smart voice interaction devices, game consoles, wearable devices, multimedia playback devices, PCs (Personal Computers), in-vehicle terminals, smart home appliances, and other electronic devices. A client application for the target application can be installed on terminal device 10. Optionally, the target application can be an application that requires downloading and installation, or it can be an application that can be used instantly; this embodiment of the application does not limit this.

[0041] In this embodiment, the target application is an application that provides virtual buildings and modification tools. This target application can be any of the following: simulation program, shooting game, virtual reality (VR) application, augmented reality (AR) application, 3D mapping program, virtual reality game, augmented reality game, first-person shooter (FPS) game, multiplayer shooting survival game, third-person shooter (TPS) game, multiplayer online battle arena (MOBA) game, strategy game (SLG), social application, or interactive entertainment application. Furthermore, different applications provide different virtual buildings and modification tools; this embodiment does not limit this. In this embodiment, a game application is used as an example. Optionally, a client of the aforementioned target application runs on the terminal device 10.

[0042] In some embodiments, the terminal device where the target application resides displays at least one virtual building located in a virtual environment. When modifying a first virtual building within the at least one virtual building, at least one modification tool is displayed. Exemplarily, selecting the first modification tool from the at least one modification tool changes the properties of the first virtual building.

[0043] The aforementioned virtual environment is a scene displayed (or provided) by the client of the target application (such as a game application) when it runs on a terminal device. This virtual environment refers to a created scene for virtual objects to perform activities (such as game competitions), such as virtual houses, virtual islands, and virtual maps. The virtual environment can be a simulation of the real world, a semi-simulated / semi-fictional environment, or a purely fictional environment. The virtual environment can be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment; this application does not limit this. The virtual environment includes at least one virtual building. Of course, the virtual environment may also include virtual characters that modify the virtual building; this application does not limit this as well.

[0044] The aforementioned virtual building is a two-dimensional virtual building provided by the target application (such as a game application) in the aforementioned virtual environment. It can also be a 2.5-dimensional virtual building or a three-dimensional virtual building; this application does not limit this. Exemplarily, the virtual building can be modified by modification tools, and the attributes of the modified virtual building will change. Exemplarily, the types of virtual buildings include at least one of the following: virtual buildings, virtual factories, virtual shopping malls, virtual tables, virtual desks, etc.

[0045] The aforementioned virtual character refers to a character controlled by a user account within a target application. Taking a game application as an example, a virtual character refers to a game character controlled by a user account within the game application. A virtual character can be a human figure, an animal, a cartoon character, or other forms; this application embodiment does not limit this. Exemplarily, the virtual character in this application is a virtual character controlled by a client or server.

[0046] Server 20 is used to provide backend services for the client of the target application in terminal device 10. For example, server 20 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, but it is not limited to these.

[0047] Terminal device 10 and server 20 can communicate with each other via a network. This network can be a wired network or a wireless network.

[0048] The method provided in this application embodiment can be executed by a computer device, which refers to an electronic device capable of data calculation, processing, and storage. The computer device can be... Figure 1The terminal device 10 can also be a server 20.

[0049] Before introducing the specific solution of this application, we will first provide an exemplary description of the solutions in related technologies.

[0050] In related technologies, building development is generally a level-based system. As the building's level increases, its corresponding attributes also improve. In some embodiments, such as... Figure 2 As shown, in response to an operation on the consumption control 200, the corresponding materials (such as...) are consumed. Figure 2 This upgrade costs 250,000 gold coins and upgrades building 210. The upgraded effect (e.g., 230) can then be viewed. Figure 2 +5 damage per second, +80 health.

[0051] Therefore, in related technologies, when upgrading buildings, the upgrades are usually aimed at fixed building attributes, and it is not possible to freely choose the attributes that want to be upgraded, thus the methods for modifying buildings are limited.

[0052] Furthermore, in this technology, the attributes of different buildings are generally fixed, allowing players to upgrade these fixed attributes. Therefore, when players want to expand the attributes of buildings, they usually need to redesign the buildings to give them new attributes. Consequently, redesigning buildings in this technology is costly and lacks flexibility.

[0053] In view of the deficiencies in the aforementioned related technologies, the technical solution provided in this application is as follows.

[0054] Please refer to Figure 3 The diagram shows an interface of a method for modifying a virtual building according to an embodiment of this application.

[0055] In some embodiments, receiving an operation on the modification control 310 is considered as receiving a modification operation on the first virtual building 300, and at least one modification item is displayed. Exemplarily, a first modification item is selected from the at least one modification item to modify the first virtual building 300. Exemplarily, the first virtual building includes multiple active modification items 320. Exemplarily, one modification item is named "KitCut Screwdriver," and this modification item can increase the probability of the first virtual building 300 producing additional products.

[0056] The modification tools provided in this embodiment can be applied to different buildings. On the one hand, this reduces production costs and allows for faster updates and iterations; on the other hand, it allows players to selectively combine and match these tools to give buildings different attributes and effects according to their own needs.

[0057] Please refer to Figure 4This document illustrates a flowchart of a virtual building modification method according to an embodiment of this application. The executing entity of this method can be the terminal device 10 described above, such as the client of the target application mentioned in the above embodiments, which is the executing entity of each step. In the following method embodiments, for ease of description, only the executing entity of each step will be described as the "client". The method may include at least one of the following steps (410-430):

[0058] Step 410: Display at least one virtual building located in the virtual environment.

[0059] In some embodiments, when displaying at least one virtual building in a virtual environment on a terminal device, there are at least three ways to display it. The first is a first-person perspective, where a virtual camera is installed above the head of the virtual character, and the image obtained by this virtual camera observing the virtual environment is used as the displayed image of the virtual environment. In this case, the displayed image of the virtual environment does not include the virtual character but includes at least one virtual building. The second is a third-person perspective, where a virtual camera is installed behind the virtual character, and the image obtained by this virtual camera observing the virtual environment is used as the displayed image of the virtual environment. In this case, the displayed image of the virtual environment may include part or all of the virtual character and at least one virtual building. The orientation of both the first-person and third-person perspectives changes with the orientation of the virtual character. The third is another perspective with a specific orientation that does not change, where the image obtained by the virtual camera observing the entire virtual environment according to a specific orientation is used as the displayed image of the virtual environment. In this case, the virtual character may be displayed in the center of the image of the virtual environment, in another position within the image of the virtual environment, or not displayed at all; this application does not limit this.

[0060] In some embodiments, the virtual building is a two-dimensional virtual building provided by the target application (such as a game application) in the aforementioned virtual environment. It can also be a 2.5-dimensional virtual building or a three-dimensional virtual building; this application does not limit the specific type. Exemplarily, the virtual building can be modified using modification tools, resulting in changes to its attributes. Exemplarily, the types of virtual buildings include at least one of the following: virtual buildings, virtual factories, virtual shopping malls, virtual tables, virtual desks, etc.

[0061] In some embodiments, different virtual buildings in a virtual environment belong to different virtual characters. For example, a virtual character can modify the virtual buildings they own using modification tools.

[0062] In some embodiments, the virtual buildings in the virtual environment are provided by the target application, or they can be freely designed by the virtual character, or they can be manufactured using acquired virtual materials. This application does not limit the source of the virtual buildings.

[0063] Step 420: In response to a modification operation on a first virtual building among at least one virtual buildings, at least one modification item is displayed. The modification item is used to change the attributes of the first virtual building, and different modification items have different effects on the attributes of the virtual buildings.

[0064] The attributes of virtual buildings mentioned in this application include both external and internal attributes. For example, external attributes of a virtual building include, but are not limited to, its size, color, and structure. For example, internal attributes of a virtual building indicate the functional attributes it can provide. For example, internal attributes include, but are not limited to, the benefits the virtual building provides to virtual characters within it, its production capacity, its storage capacity, and so on.

[0065] In some embodiments, modification tools are used to alter the attributes of virtual buildings. For example, different modification tools have different effects on the attributes of virtual buildings. In some embodiments, different modification tools have different names and icons. Of course, different virtual buildings can correspond to different modification tools. For example, different modification tools are categorized according to the type of virtual building. For example, different modification tools are categorized according to the location of the virtual building. In some embodiments, modification tools are also virtual resources in the virtual environment, which need to be acquired by the virtual character before they can be used to modify virtual buildings.

[0066] In some embodiments, the first virtual building is one of the at least one virtual buildings described above. For example, the first virtual building is a virtual building included in the screen of the virtual environment displayed above.

[0067] In some embodiments, the modification operation is an operation used to modify the first virtual building.

[0068] For example, the modification operation is an operation on the modification control. The operation on the modification control includes, but is not limited to, click operation, long press operation, double click operation, etc. This application does not limit the specific operation type of the operation on the modification control.

[0069] For example, the modification operation is a modification operation indicated by voice input. For example, voice input is acquired, the text information corresponding to the voice input is recognized, and when the text information indicates modification of the virtual building, it is considered that a modification operation for the first virtual building has been received.

[0070] For example, the modification operation can also be a preset gesture operation, such as a shake operation.

[0071] Step 430: In response to the selection operation of the first modification item among at least one modification item, display the modified first virtual building obtained after modifying the first virtual building based on the first modification item.

[0072] In some embodiments, the operation of selecting a first modification item among at least one modification item is considered as the operation of selecting the first modification item from the at least one modification item. For example, one of the following operations—a click operation, a long press operation, and a double-click operation—is considered as the operation of selecting the first modification item among at least one modification item.

[0073] It should be understood that step 430 of this application only shows one modification tool for modifying the first virtual building. During the modification of the first virtual building, multiple modification tools can be selected. For example, multiple modification tools can be selected at once or in stages; this application does not limit this. Of course, for each modification tool selected for modifying the first virtual building, the first virtual building must be modified using that tool.

[0074] In some embodiments, the first virtual building is either a virtual building that has been modified or a virtual building that has not yet been modified.

[0075] For example, when the first virtual building is a virtual building that has not yet been modified, the modified first virtual building obtained in step 430 after modifying the first virtual building based on the first modification prop refers to the first virtual building whose original attributes are modified based on the change effect corresponding to the first modification prop.

[0076] For example, when the first virtual building is a virtual building that has already been modified, the modified first virtual building obtained after modifying the first virtual building based on the first modification tool in step 430 above refers to modifying the original attributes of the first virtual building based on the change effect corresponding to the first modification tool and the change effect of the previously selected modification tool, thus obtaining the modified first virtual building. Alternatively, the modified first virtual building obtained after modifying the first virtual building based on the first modification tool in step 430 above refers to modifying the currently modified attributes of the first virtual building based on the change effect corresponding to the first modification tool, thus obtaining the modified first virtual building.

[0077] In some embodiments, when the effect of the first modification tool selected for modifying the first virtual building is aimed at the external attributes of the first virtual building, the modified first virtual building and the first virtual building before modification are inconsistent in appearance.

[0078] In some embodiments, when the effect of the first modification tool selected for modifying the first virtual building is aimed at the intrinsic properties of the first virtual building, the modified first virtual building and the first virtual building before modification can have the same appearance, but different intrinsic properties.

[0079] Compared to related technologies where the modification of virtual buildings typically involves upgrading fixed building attributes, the technical solution provided in this application offers at least one modification tool to achieve different changes to the attributes of the virtual building. This application supports the flexible selection of a first modification tool from at least one tool to modify the virtual building, demonstrating the flexibility and diversity of virtual building modification.

[0080] The following describes the specific display methods for the modified items.

[0081] Please refer to Figure 5 This document illustrates a flowchart of a virtual building modification method according to another embodiment of this application. The executing entity of this method can be the terminal device 10 described above, such as the client of the target application mentioned in the above embodiments, where the executing entity of each step is the client of the target application. In the following method embodiments, for ease of description, the executing entity of each step will only be described as the "client". The method may include at least one of the following steps (510-540):

[0082] Step 510: Display at least one virtual building located in the virtual environment.

[0083] The following explains the timing of the modification control's appearance.

[0084] In some embodiments, the virtual environment includes virtual characters.

[0085] In some embodiments, when the virtual character and the first virtual building meet the modification conditions, a modification control is displayed; wherein, the modification operation for the first virtual building includes the operation for the modification control; the modification conditions include at least one of the following: the first virtual building belongs to the virtual character, the distance between the first virtual building and the virtual character is less than or equal to a distance threshold, and the duration of the virtual character's stay in the first virtual building is greater than or equal to a second duration threshold.

[0086] For example, the first virtual building belonging to a virtual character can be understood as the first virtual building being a virtual building designed and constructed by the virtual character. Or it can be understood as the first virtual building being a virtual building acquired by the virtual character.

[0087] For example, the distance between the first virtual building and the virtual character can be understood as the distance from the center of the first virtual building to the head or center of the virtual character.

[0088] For example, the duration of a virtual character's stay in the first virtual building can be understood as the duration of the virtual character's stay inside the first virtual building or the duration of its stay within a certain distance from it.

[0089] In some embodiments, when the first virtual building belongs to a virtual character and the distance between the first virtual building and the virtual character is less than or equal to a distance threshold, the modification control is displayed.

[0090] In some embodiments, when the first virtual building belongs to a virtual character and the virtual character's stay time in the first virtual building is greater than or equal to a second duration threshold, the modification control is displayed.

[0091] The technical solution provided in this application only displays the modification controls when the virtual character and the first virtual building meet the modification conditions, which helps reduce display costs. Furthermore, when the virtual character and the first virtual building meet the modification conditions, it indicates an intention to modify the first virtual building. Displaying the modification controls at this time is more likely to resonate with the user's psychology (the desire to modify the first virtual building) and improve the efficiency of control display.

[0092] For example, after the modification control appears, step 520 below can also be represented as displaying a modification interface in response to an operation on the modification control, wherein the modification interface displays at least one modification field.

[0093] Step 520: In response to the modification operation on the first virtual building, a modification interface is displayed, which shows at least one modification slot, and each modification slot corresponds to a placement area for a modification item.

[0094] In some embodiments, modification slots are used to place modification items. This application does not limit the shape and area of ​​the modification slots. In some embodiments, the number of modification slots indicates the number of modification items capable of modifying the first virtual building. In some embodiments, the number of modification slots is a first value, allowing a maximum number of modification items for modifying the first virtual building. Exemplarily, the number of modification slots is related to the first virtual building. In other embodiments, one modification slot allows multiple modification items to be placed. This application uses the example of placing one modification item in one modification slot for the following explanation.

[0095] For example, different types of virtual buildings have different numbers of modification slots. For example, different levels of virtual buildings have different numbers of modification slots. For example, the higher the level of the virtual building, the more modification slots it has.

[0096] In this embodiment, there are three types of modification slots. The first type is the first-class modification slot, which refers to a modification slot that can hold modification items but is currently empty. The second type is the second-class modification slot, which refers to a modification slot that can hold modification items and currently has them. The third type is a locked modification slot, which refers to a modification slot where placing modification items is not allowed or is impossible. For example, the first and second types of modification slots can also be considered as unlocked modification slots, which are modification slots capable of holding modification items.

[0097] For example, such as Figure 3 As shown, modification slot 330 is the first type of modification slot, modification slot 340 is the second type of modification slot, and modification slot 350 is a modification slot that is locked.

[0098] In some embodiments, such as Figure 7 As shown, in response to an operation on the modification control 710, a building details interface 720 is displayed. Exemplarily, the building details interface 720 also includes a modification control 730. In response to an operation on the modification control 730, a modification interface 750 is displayed. Exemplarily, modification field identification information 760 is also displayed on the building details interface 720. Exemplarily, other introductory information related to the first virtual building, such as the level of the first virtual building, is also displayed on the building details interface 720.

[0099] Step 530: In response to a selection operation for the first modification slot in at least one modification slot, display at least one modification item.

[0100] In some embodiments, the first modification slot is any one of at least one modification slots that can hold modification items.

[0101] In some embodiments, the selection operation for a first modification field in at least one modification field is the operation of selecting the first modification field, and the operation type of the operation includes, but is not limited to, at least one of the following: click operation, long press operation, and swipe operation.

[0102] In some embodiments, the first modification field is a modification field that is in an unlocked state. For example, in response to... Figure 3 The selection operation of modification slot 330 or modification slot 340 will display at least one modification item.

[0103] The technical solution provided in this application embodiment allows for the placement of modification items by modifying slots. When a modification slot is selected, at least one modification item that can be placed in that slot is displayed. This enables flexible selection of each modification slot and flexible placement of modification items, enriching the human-computer interaction.

[0104] First, let's introduce the situation regarding the addition of new modification items for the first virtual building.

[0105] In some embodiments, when the first modification slot belongs to a first type of modification slot, in response to a selection operation for the first modification slot, at least one modification item for modifying the first virtual building is displayed. The first type of modification slot refers to a modification slot where no modification item is placed.

[0106] For example, such as Figure 3 As shown, in response to a selection operation on the modification field 330, at least one modification item for modifying the first virtual building is displayed.

[0107] For example, there is a modification item library for virtual buildings. The modification items in this library can be exchanged using virtual resources, obtained directly from the virtual environment, or crafted by virtual characters themselves.

[0108] For example, considering that different virtual buildings have different modification tools, at least one modification tool for modifying the first virtual building is selected from the modification tool library and displayed.

[0109] For example, in response to a selection operation for the first modification field, a modification item selection interface is displayed, which includes at least one modification item for modifying the first virtual building. For example, the modification item selection interface is displayed in full screen or not in full screen.

[0110] The technical solution provided in this application embodiment, by placing a first modification item in the first type of modification field, realizes the addition of a modification item to the first virtual building, thereby realizing a modification method for the first virtual building and enriching the human-computer interaction.

[0111] Secondly, the situation regarding the replacement and modification of props for the first virtual building will be introduced.

[0112] In some embodiments, when the first modification slot belongs to the second type of modification slot, in response to a selection operation for the first modification slot, at least one modification item for replacing the second modification item is displayed. The second type of modification slot refers to a modification slot in which a modification item has been placed, and the second modification item is a modification item that has been placed in the first modification slot.

[0113] For example, such as Figure 3As shown, in response to a selection operation on modification slot 340, at least one modification item is displayed to replace the second modification item. In some embodiments, the second modification item is a "Kitty Screwdriver" modification item already placed in modification slot 340.

[0114] For example, in response to a selection operation for a first modification slot, a modification item selection interface is displayed, which includes at least one modification item for replacing a second modification item. For example, the modification item selection interface may be displayed in full-screen mode or not in full-screen mode.

[0115] The technical solution provided in this application embodiment achieves the replacement of the modification prop for the first virtual building by selecting the first modification prop in the second type of modification column to replace the second modification prop, thereby realizing another way to modify the first virtual building and enriching the human-computer interaction.

[0116] In some embodiments, when a first modification item is selected to replace a second modification item, the effect of the second modification item on the attributes of the first virtual building is removed from the attributes of the first virtual building.

[0117] For example, when the second modification item is replaced, the effect of the second modification item on the attributes of the first virtual building is removed from the attributes of the first virtual building. For example, when the second modification item is replaced, the effect of the second modification item on the external attributes of the first virtual building is removed from the external attributes of the first virtual building. For example, when the second modification item is replaced, the effect of the second modification item on the internal attributes of the first virtual building is removed from the internal attributes of the first virtual building.

[0118] For example, in response to a selection operation on the second type of modification field, a replacement control 810 is displayed. In response to an operation on the replacement control 810, at least one modification item for replacing the second modification item is displayed.

[0119] Next, let's discuss the unlocking and modification options for the first virtual building.

[0120] In some embodiments, at least one modification slot may also include a locked modification slot, which is a modification slot in which modification items cannot be placed.

[0121] For example, when there is a locked modification slot, it is necessary to unlock the modification slot to place modification items.

[0122] In some embodiments, when the first virtual building meets the unlocking conditions for the modification slot, the modification slot in the locked state is changed to the unlocked state, and the modification slot in the unlocked state is the modification slot used to place modification items; wherein, the unlocking conditions for the modification slot include at least one of the following: the level of the first virtual building is greater than or equal to a first level threshold, the building duration of the first virtual building is greater than or equal to a first duration threshold, and the building type of the first virtual building is changed to a preset building type.

[0123] For example, such as Figure 3 As shown, when the first virtual building meets the unlocking conditions for the modification slot, the locked modification slot 350 is changed to an unlocked state. For example, when the modification slot is changed to an unlocked state, modification items can be placed or replaced in the manner described above.

[0124] For example, when the level of the first virtual building is greater than or equal to a first level threshold, the locked modification slots are unlocked. For example, different levels of virtual buildings correspond to different numbers of modification slots. For example, a level 3 virtual building has 2 unlocked modification slots, and a level 4 virtual building has 3 unlocked modification slots. Therefore, when the virtual building is upgraded from level 3 to level 4, the previously locked third modification slot is unlocked. For example, as the virtual building level increases, the number of unlocked modification slots increases. For example, there is an upper limit to the number of modification slots a virtual building can have, i.e., a maximum value. For example, no matter how the virtual building is upgraded, the number of unlocked modification slots will not exceed a first value. For example, when the level of the first virtual building is greater than or equal to the first level threshold, all locked modification slots are unlocked.

[0125] For example, if the construction duration of the first virtual building is greater than or equal to a first duration threshold, the locked modification slots will be unlocked. For example, the construction duration of the first virtual building can be understood as the duration from the completion of its construction. Alternatively, for example, the construction duration of the first virtual building can be understood as the duration belonging to the virtual character. For example, the longer the construction duration, the more modification slots will be unlocked. For example, there is an upper limit to the number of modification slots a virtual building can have, i.e., a maximum value. For example, if the construction duration of the first virtual building is greater than or equal to the first duration threshold, all locked modification slots will be unlocked.

[0126] For example, when the building type of the first virtual building changes to a preset building type, the modification slots that are currently locked are unlocked. For example, the building type of a virtual building changes during the upgrade process. For example, a level 1 virtual building is a bungalow, a level 2 virtual building is a multi-story building, and a level 3 virtual building is a castle. The number of unlocked modification slots differs for different building types. For example, when the building type is a bungalow, there is 1 unlocked modification slot. For example, when the building type is a multi-story building, there are 2 unlocked modification slots. For example, when the building type is a castle, there are 3 unlocked modification slots. For example, as the building type changes, the locked modification slots are unlocked.

[0127] The technical solution provided in this application embodiment can unlock locked modification slots, demonstrating the flexibility of unlocking. Furthermore, the unlocked modification slots can still hold modification items, allowing for richer combinations of modification items and achieving different alteration effects on virtual buildings.

[0128] In addition, the following explanation is provided regarding the modification of the column labeling information.

[0129] In some embodiments, when a first virtual building is displayed in a virtual environment, modification slot identification information of the first virtual building is displayed; wherein, the modification slot identification information is used to indicate at least one of the following: the total number of modification slots of the first virtual building, the number of modification slots of the first virtual building that are in an unlocked state, the number of modification slots of the first virtual building that are in a locked state, the number of first-type modification slots of the first virtual building, and the number of second-type modification slots of the first virtual building.

[0130] For example, the modification field identification information is displayed before any modification operation is performed. For example, the total number of modification fields in the first virtual building, the number of modification fields in the first virtual building that are unlocked, the number of modification fields in the first virtual building that are locked, the number of first-type modification fields in the first virtual building, and the number of second-type modification fields in the first virtual building are determined, and then the modification field identification information is determined.

[0131] For example, the modification slot identification information of the first virtual building is displayed next to it in the form of bubbles, dialog boxes, pop-ups, etc. For example, the total number of modification slots of the first virtual building, the number of modification slots of the first virtual building that are unlocked, the number of modification slots of the first virtual building that are locked, the number of first-type modification slots of the first virtual building, and the number of second-type modification slots of the first virtual building are displayed in the form of numerical or textual descriptions.

[0132] Step 540, in response to the selection operation of the first modification item among at least one modification item, displays the modified first virtual building obtained after modifying the first virtual building based on the first modification item.

[0133] The technical solution provided in this application displays the modification slot identifier information of the first virtual building before performing the modification operation. This allows users to know at least one of the following without opening the modification interface: the total number of modification slots in the first virtual building, the number of modification slots in the first virtual building that are unlocked, the number of modification slots in the first virtual building that are locked, the number of first-type modification slots in the first virtual building, and the number of second-type modification slots in the first virtual building. On the one hand, this method enriches the interface display elements; on the other hand, it improves information display efficiency, attracts users to modify the first virtual building, and reduces the occurrence of unlocked modification slots without modification items, thereby enabling timely modification of the virtual building.

[0134] Please refer to Figure 6 This document illustrates a flowchart of a virtual building modification method according to an embodiment of this application. The executing entity of this method can be the terminal device 10 described above, such as the client of the target application mentioned in the above embodiments, which is the executing entity of each step. In the following method embodiments, for ease of description, only the executing entity of each step will be referred to as the "client". The method may include at least one of the following steps (610-640):

[0135] Step 610: Display at least one virtual building located in the virtual environment.

[0136] Step 620: In response to a modification operation on a first virtual building among at least one virtual buildings, at least one modification item is displayed. The modification item is used to change the attributes of the first virtual building, and different modification items have different effects on the attributes of the virtual buildings.

[0137] The following describes the specific types of changes that can be achieved, but these are not the only ones.

[0138] In some embodiments, the alteration effects include at least one of the following: reducing the workload required to produce the first virtual building; increasing the working speed of the virtual pets working in the first virtual building; increasing the working ability level of the virtual pets working in the first virtual building; increasing the probability of additional production by the first virtual building; and increasing the storage capacity of the first virtual building.

[0139] For example, the effect of the change is to reduce the workload required to produce the first virtual building. For example, if the workload required to produce the first virtual building is 'a', then the effect of the change is to reduce the workload required to produce the first virtual building by a percentage or by a reduction amount. For example, if the effect of the change is to reduce the workload required to produce the first virtual building by 20%, then after the modification item takes effect, the workload required to produce the first virtual building becomes 80% * a. For example, if the effect of the change is to subtract a second value from the workload required to produce the first virtual building, then after the modification item takes effect, the workload required to produce the first virtual building becomes a - the second value.

[0140] For example, the effect of the change is to increase the working speed of the virtual pet working in the first virtual building. For example, if the working speed of the virtual pet working in the first virtual building is 'b', then the effect is to increase the working speed of the virtual pet working in the first virtual building by a percentage or by a certain increase amount. For example, if the effect of the change is to increase the working speed of the virtual pet working in the first virtual building by 20%, then after the modification item takes effect, the working speed of the virtual pet working in the first virtual building becomes 120%*b. For example, if the effect of the change is to increase the working speed of the virtual pet working in the first virtual building by a third value, then after the modification item takes effect, the working speed of the virtual pet working in the first virtual building becomes b + the third value.

[0141] For example, the effect of the change is to increase the skill level of the virtual pet working in the first virtual building. For example, if the skill level of the virtual pet working in the first virtual building is c, then the effect is to increase the skill level of the virtual pet working in the first virtual building by a percentage or by a certain increase amount. For example, if the effect is to increase the skill level of the virtual pet working in the first virtual building by 20%, then after the modification item takes effect, the skill level of the virtual pet working in the first virtual building becomes 120%*c. For example, if the effect is to increase the skill level of the virtual pet working in the first virtual building by a fourth value, then after the modification item takes effect, the skill level of the virtual pet working in the first virtual building becomes c + the fourth value. A, b, and c above are positive numbers.

[0142] In addition, the effects of increasing the probability of additional production of the first virtual building and increasing the storage capacity of the first virtual building are explained in the above three descriptions and will not be repeated here.

[0143] The technical solution provided in this application provides modification tools with a variety of alteration effects, enriching the types of modification tools and further enriching the ways to modify virtual buildings.

[0144] The following section, in conjunction with steps 630 and 640, explains that a second confirmation is required when selecting the first modification item.

[0145] Step 630: In response to the selection operation for the first modification item, a selection confirmation interface is displayed, which contains a selection confirmation control.

[0146] For example, after obtaining the selection operation for the first modification item, a selection confirmation interface is displayed in response to the selection operation for the first modification item.

[0147] Of course, there is no limit to the size of the selection confirmation screen; the selection confirmation screen can be displayed in full screen or not.

[0148] Step 640: In response to the operation on the selection confirmation control, the first virtual building is modified using the first modification tool, and the modified first virtual building is displayed.

[0149] In some embodiments, the selection confirmation interface includes a selection confirmation control. For example, in response to an operation on the selection confirmation control, it is determined that a first modification tool is selected to modify a first virtual building.

[0150] For example, such as Figure 7As shown, in response to an operation on the selection confirmation control 740, the first modification item is selected to modify the first virtual building.

[0151] The technical solution provided in this application avoids accidental touches and improves the accuracy of selecting modification tools through a secondary confirmation method.

[0152] The following section introduces how to upgrade modification tools.

[0153] In some embodiments, at least one active modification item is displayed, where an active modification item is a modification item that has been selected for modifying a first virtual building; in response to an upgrade operation for at least one active modification item, at least one active modification item is upgraded.

[0154] For example, modification items can be upgraded again. For example, upgrading modification items requires virtual resources. For example, the upgraded modification item has a greater effect on the virtual building than the unupgraded modification item.

[0155] For example, an upgrade operation for at least one active modification item can be considered as a selection operation for an upgrade control.

[0156] For example, such as Figure 8 As shown, in response to an operation on the enhancement control 820 (i.e., the enhancement button), an upgrade interface 830 is displayed. For example, at least one upgradeable modification item is displayed on this upgrade interface 830.

[0157] Of course, it is also possible to upgrade modifications that have not yet taken effect; this application does not limit this.

[0158] The technical solution provided in this application embodiment can improve the effect of the modification props on virtual buildings by upgrading the already effective modification props, and also enrich the human-computer interaction.

[0159] The following describes the removal of modified props that have already taken effect.

[0160] In some embodiments, in response to the removal operation of a third modification item in at least one active modification item, a third modification item is added to at least one modification item, and the effect of the third modification item on the attributes of the first virtual building is removed from the attributes of the first virtual building.

[0161] For example, the removal operation for the third modification item can be considered as an operation on the removal control corresponding to the third modification item. For example, in response to the operation on the removal control corresponding to the third modification item, the third modification item is removed from the active modification items and returned to the modification item library, that is, to at least one of the aforementioned modification items (referring to the inactive modification items).

[0162] For example, the effect of the third modification tool on the attributes of the first virtual building is removed from the attributes of the first virtual building. For example, when the third modification tool is removed, the effect of the third modification tool on the external attributes of the first virtual building is removed from the external attributes of the first virtual building. For example, when the third modification tool is removed, the effect of the third modification tool on the internal attributes of the first virtual building is removed from the internal attributes of the first virtual building.

[0163] The technical solution provided in this application embodiment enables flexible modification of virtual buildings by removing modification props. Compared with the upgrade method in related technologies that cannot be reversed (can only be upgraded from level 1 to level 2, and cannot be rolled back), it reflects the flexibility and arbitrariness of virtual building modification (arbitrary removal and installation of modification props).

[0164] The following describes how to determine the effects of changes on the first virtual building based on the already activated and selected modification items.

[0165] In some embodiments, the effective modification items corresponding to the first virtual building are obtained. Effective modification items refer to modification items that have been selected for modifying the first virtual building.

[0166] For example, modification tools that have been selected for modifying the first virtual building before the first modification tool is obtained are considered to be effective modification tools. For example, when a selected tool is confirmed twice as described above, it begins to take effect.

[0167] In some embodiments, the attributes of the modified first virtual building are determined based on the activated modification item and the first modification item.

[0168] For example, once a modification item is selected, it is considered to be in effect. For example, while a modification item is in effect, the attributes of a virtual building are changed using that modification item to obtain the modified virtual building.

[0169] For example, the attributes of the first virtual building after modification are determined based on the effect of the modification tools that have been activated on the virtual building and the effect of the first modification tool.

[0170] For example, the effect of the modification item that has already taken effect on the virtual building is superimposed on the effect of the first modification item to modify the first virtual building, resulting in the modified first virtual building.

[0171] In this embodiment, the modification of virtual buildings can be flexibly and freely selected by the user, and the effects of each effective modification item can be stacked. Compared with the fixed attribute upgrades (linear modifications) in related technologies, this application realizes non-linear modifications, allows for free combination, and enriches the modification methods.

[0172] The conditions for merging items are described below.

[0173] In some embodiments, if the effective modification item and the first modification item meet the merging conditions, the effective modification item and the first modification item are merged to obtain the merged modification item.

[0174] In some embodiments, the attributes of the first virtual building after modification are determined based on the change effect corresponding to the merged modification props; wherein the merging conditions include at least one of the following: the effective modification props and the first modification props belong to the same type of modification props, or the effective modification props and the first modification props have an association relationship.

[0175] In some embodiments, when the effective modification item and the first modification item are of the same type, the change effect corresponding to the merged modification item is determined to be equal to the sum of the change effect corresponding to the effective modification item and the change effect corresponding to the first modification item.

[0176] For example, the same type of modification item can be understood as either modification item a or modification item b. For example, if the already effective modification item and the first modification item belong to modification item a, the change effect corresponding to the merged modification item is determined to be equal to the change effect corresponding to the already effective modification item plus the change effect corresponding to the first modification item.

[0177] For example, the effects of each modification tool are independent of each other and all affect the attributes of the virtual building.

[0178] In some embodiments, where there is a relationship between the effective modification item and the first modification item, the change effect corresponding to the merged modification item is determined to be equal to the sum of the change effect corresponding to the effective modification item, the change effect corresponding to the first modification item, and the additional change effect, wherein the additional change effect is determined based on the relationship between the effective modification item and the first modification item.

[0179] For example, the association can be configured in advance. For example, an association can be configured between modification item 'a' and modification item 'b'. When both modification item 'a' and modification item 'b' are selected to modify a virtual building, in addition to the respective changes of modification item 'a' and modification item 'b', additional changes will occur. For example, these additional changes will also be configured in advance.

[0180] For example, a mapping table of associations and additional alteration effects is configured in advance. For example, if it is determined that there is an association between an already effective modification item and a first modification item as indicated in the mapping table, the corresponding additional alteration effect is determined from the mapping table.

[0181] The technical solution provided in this application, through pre-configuration of related modification tools and additional alteration effects, makes the selection of modification tools more diverse. Depending on the selected modification tools, additional modification tools may appear, further enhancing the diversity of modifications.

[0182] The following section introduces how to configure multiple modification items with a single click.

[0183] In some embodiments, change effect indication information is obtained, which is used to indicate the changed attributes obtained by modifying the first virtual building; wherein, the change effect indication information is determined based on at least one of the following: the building type of the first virtual building, the role attribute of the virtual character to which the first virtual building belongs, and user input text.

[0184] For example, user-input text is used as the indication information for the change effect. For example, the building type of the first virtual building and the role attribute of the virtual character to which the first virtual building belongs are used as the indication information for the change effect.

[0185] In some embodiments, at least one set of modification tools that satisfy the change effect indication information is obtained. The at least one set of modification tools is preset for the change effect indication information or generated based on the change effect indication information using an artificial intelligence algorithm.

[0186] For example, when using the building type of the first virtual building and the character attributes of the virtual character to which the first virtual building belongs as indication information for the change effect, at least one set of modification props is preset in advance. For example, the preset at least one set of modification props is preset based on the building type and character attributes, has a good modification effect on the virtual building, and is compatible with the character attributes of the virtual character.

[0187] For example, when user-input text is used as an indicator of the change effect, at least one set of modification props is generated in real time based on the change effect indicator information using an artificial intelligence algorithm. For example, an input box is displayed, allowing the user to enter text, which is then used as the change effect indicator information. For example, at least one set of modification props is generated based on the change effect indicator information using a pre-trained artificial intelligence model.

[0188] In some embodiments, in response to a selection operation for a target group of modification items in at least one set of modification items, it is determined to modify the first virtual building using the target group of modification items.

[0189] For example, the target group of modification items is any one of the at least one group of modification items. For example, after selecting the target group of modification items, it is assumed that all modification items in the target group of modification items have been selected. For example, the first virtual building is modified using all the modification items in the target group of modification items to obtain the modified first virtual building.

[0190] The technical solution provided in this application embodiment enables one-click modification. On the one hand, there are preset prop sets that fit the building type and character attributes; on the other hand, there are prop sets generated in real time based on user input text, giving users at least two choices, enriching the human-computer interaction and improving modification efficiency.

[0191] The following describes how modification tools can be applied to sub-buildings within the first virtual building, and these sub-buildings can be selected by the user.

[0192] In some embodiments, the first modification tool is used to modify sub-buildings within a first virtual building.

[0193] In some embodiments, in response to a selection operation for a first modification tool, structural information of a first virtual building is displayed, the structural information indicating various sub-buildings included in the first virtual building; in response to a selection operation for first information in the structural information, it is determined that the first modification tool is used to modify the first sub-building indicated by the first information.

[0194] For example, a sub-building can be considered as a portion of a first virtual building. For example, if the first virtual building is a house, then the sub-buildings of the first virtual building include at least one of the following: a balcony, a room, and a rooftop.

[0195] For example, after selecting the first modification tool, structural information indicating the various sub-buildings included in the first virtual building is displayed. This structural information can be displayed as text or as images of the various sub-buildings.

[0196] For example, in response to a selection operation on first information in the structural information, it is determined that a first modification tool is used to modify a first sub-building indicated by the first information. For example, the first information is identification information corresponding to the first sub-building, used to indicate the first sub-building.

[0197] The technical solution provided in this application embodiment allows for the modification of not only the entire first virtual building but also its sub-buildings. Furthermore, the user can specify which sub-buildings are modified, thus achieving flexibility in the modification process.

[0198] In some embodiments, such as Figure 9 As shown in Figure 900, a block diagram of a method for modifying a virtual building according to an embodiment of this application is illustrated. The method includes at least one of the steps 901 to 905 described below.

[0199] Step 901: Determine whether the modification prop can be placed in the first virtual building.

[0200] If possible, proceed to step 902; otherwise, a prompt will appear stating that the current modification item cannot be placed in the first virtual building.

[0201] Step 902: Determine whether there is a first-type modification field.

[0202] If it exists, a prompt will appear asking whether to modify the first virtual building. If it does not exist, a prompt will appear stating that there is no first-type modification slot and asking whether to replace the current modification item.

[0203] The first type of modification slot refers to a modification slot that has not been filled with modification items.

[0204] Step 903: Confirm a second time whether to place the modification item.

[0205] If confirmed, the modification item will be placed in the modification slot. If not confirmed, the prompt box will be closed and you will return to the modification interface.

[0206] Step 904: Determine if there are similar modification tools.

[0207] If yes, the effects of modification items of the same type are calculated together, and the placement of modification items ends. If no, the effects of modification items are calculated independently.

[0208] If the prompt appears, it will say that there is no first-class modification slot and ask if you want to replace the current modification item before proceeding to step 905.

[0209] Step 905: Replace the current modification item?

[0210] If yes, replace the modification item in the second modification slot with the new modification item. If no, return to the modification interface.

[0211] In some embodiments, such as Figure 10 As shown in Figure 1000, a block diagram of a method for determining the output of a virtual building according to an embodiment of this application is illustrated. The method includes at least one of the following steps 1001 to 1002.

[0212] For example, the effect of modifying the prop is the probability Y of generating an additional X products.

[0213] For example, first determine whether there is an effect of producing additional products. If not, produce according to the normal process. If there is, determine for each modified item with the effect. For each additional modified item, determine once.

[0214] For example, a virtual building produces one product.

[0215] Step 1001: Determine if there are any additional modified items that will alter the effect.

[0216] If yes, generate a random number between 0 and 10000. If no, produce one product.

[0217] Step 1002: Determine whether the random number is within the probability range of the modification effect of the item.

[0218] If yes, then produce 1+Y products. If no, then produce 1 product.

[0219] The following expands on application scenarios. In addition to methods for modifying virtual buildings, the technical solutions provided in this application can also include methods for modifying virtual plants and virtual pets.

[0220] Please refer to Figure 11 This document illustrates a flowchart of a virtual plant modification method according to an embodiment of this application. The executing entity of this method can be the terminal device 10 described above, such as the client of the target application mentioned in the above embodiments, where the executing entity of each step is the client of the target application. In the following method embodiments, for ease of description, the executing entity of each step will only be described as the "client". The method may include at least one of the following steps (1110-1130):

[0221] Step 1110: Display at least one virtual plant located in the virtual environment.

[0222] Step 1120: In response to a modification operation on a first virtual plant among at least one virtual plants, at least one modification item is displayed. The modification item is used to change the attributes of the first virtual plant, and different modification items have different effects on the attributes of the virtual plants.

[0223] In some embodiments, in response to a modification operation on a first virtual plant, a modification interface is displayed, the modification interface showing at least one modification slot, each of the at least one modification slot corresponding to a placement area for a modification item; in response to a selection operation on the first modification slot in the at least one modification slot, at least one modification item is displayed.

[0224] In some embodiments, when the first modification slot belongs to a first type of modification slot, in response to a selection operation for the first modification slot, at least one modification item for modifying the first virtual plant is displayed. The first type of modification slot refers to a modification slot where no modification item is placed.

[0225] In some embodiments, when the first modification slot belongs to the second type of modification slot, in response to a selection operation for the first modification slot, at least one modification item for replacing the second modification item is displayed. The second type of modification slot refers to a modification slot in which a modification item has been placed, and the second modification item is a modification item that has been placed in the first modification slot.

[0226] In some embodiments, at least one modification slot may also include a locked modification slot, which is a modification slot in which modification items cannot be placed.

[0227] In some embodiments, when the first virtual plant meets the unlocking conditions of the modification slot, the modification slot in the locked state is changed to the unlocked state, and the modification slot in the unlocked state is the modification slot used to place modification items; wherein, the unlocking conditions of the modification slot include at least one of the following: the level of the first virtual plant is greater than or equal to a first level threshold, the plant duration of the first virtual plant is greater than or equal to a first duration threshold, and the plant type of the first virtual plant is changed to a preset plant type.

[0228] In some embodiments, when a first virtual plant is displayed in a virtual environment, modification slot identification information of the first virtual plant is displayed; wherein, the modification slot identification information is used to indicate at least one of the following: the total number of modification slots of the first virtual plant, the number of modification slots of the first virtual plant that are in an unlocked state, the number of modification slots of the first virtual plant that are in a locked state, the number of first-type modification slots of the first virtual plant, and the number of second-type modification slots of the first virtual plant.

[0229] Step 1130, in response to the selection operation of the first modification item among at least one modification item, displays the modified first virtual plant obtained after modifying the first virtual plant based on the first modification item.

[0230] In some embodiments, in response to a selection operation for a first modification item, a selection confirmation interface is displayed, which includes a selection confirmation control.

[0231] In some embodiments, in response to an operation on a selection confirmation control, a first modification tool is used to modify a first virtual plant, and the modified first virtual plant is displayed.

[0232] In some embodiments, when the virtual character and the first virtual plant meet the modification conditions, a modification control is displayed; wherein, the modification operation for the first virtual plant includes the operation for the modification control; the modification conditions include at least one of the following: the first virtual plant belongs to the virtual character, the distance between the first virtual plant and the virtual character is less than or equal to a distance threshold, and the duration of the virtual character's stay on the first virtual plant is greater than or equal to a second duration threshold.

[0233] In some embodiments, at least one active modification item is displayed, where an active modification item is a modification item that has been selected to modify the first virtual plant; in response to an upgrade operation for at least one active modification item, at least one active modification item is upgraded.

[0234] In response to the removal of a third modification item from at least one active modification item, a third modification item is added to at least one modification item, and the effect of the third modification item on the attributes of the first virtual plant is removed from the attributes of the first virtual plant.

[0235] In some embodiments, the alteration effect includes at least one of the following: reducing the workload required to produce the first virtual plant; increasing the working speed of the virtual pet working in the first virtual plant; increasing the working ability level of the virtual pet working in the first virtual plant; and increasing the probability of the first virtual plant producing additional products.

[0236] In some embodiments, the effective modification tool corresponding to the first virtual plant is obtained, where the effective modification tool refers to the modification tool that has been selected to modify the first virtual plant; the attributes of the modified first virtual plant are determined based on the effective modification tool and the first modification tool.

[0237] In some embodiments, if the effective modification item and the first modification item meet the merging conditions, the effective modification item and the first modification item are merged to obtain a merged modification item; the attributes of the modified first virtual plant are determined according to the change effect corresponding to the merged modification item; wherein, the merging conditions include at least one of the following: the effective modification item and the first modification item belong to the same type of modification item, or the effective modification item and the first modification item have an association relationship.

[0238] In some embodiments, when the effective modification item and the first modification item are the same type of modification item, the change effect corresponding to the merged modification item is determined to be equal to the sum of the change effect corresponding to the effective modification item and the change effect corresponding to the first modification item; when there is a relationship between the effective modification item and the first modification item, the change effect corresponding to the merged modification item is determined to be equal to the sum of the change effect corresponding to the effective modification item, the change effect corresponding to the first modification item, and the additional change effect, wherein the additional change effect is determined based on the relationship between the effective modification item and the first modification item.

[0239] In some embodiments, change effect indication information is obtained, which is used to indicate the changed attributes obtained by modifying the first virtual plant; at least one set of modification tools that satisfy the change effect indication information is obtained, which is preset for the change effect indication information or generated based on the change effect indication information using an artificial intelligence algorithm; in response to a selection operation for a target group of modification tools in the at least one set of modification tools, it is determined to modify the first virtual plant using the target group of modification tools; wherein the change effect indication information is determined based on at least one of the following: the plant type of the first virtual plant, the role attribute of the virtual character to which the first virtual plant belongs, and user input text.

[0240] In some embodiments, a first modification tool is used to modify sub-plants in a first virtual plant; in response to a selection operation on the first modification tool, structural information of the first virtual plant is displayed, the structural information indicating each sub-plant included in the first virtual plant; in response to a selection operation on first information in the structural information, it is determined that the first modification tool is used to modify the first sub-plant indicated by the first information.

[0241] The technical solution provided in this application, compared to related technologies where the modification of virtual plants generally involves upgrading fixed plant attributes, offers at least one modification tool to achieve different effects on the attributes of virtual plants. This application supports the flexible selection of a first modification tool from at least one tool to modify the virtual plant, demonstrating the flexibility and diversity of virtual plant modification.

[0242] Please refer to Figure 12 The diagram illustrates a flowchart of a virtual pet modification method according to an embodiment of this application. The executing entity of this method can be the terminal device 10 described above, such as the client of the target application mentioned in the above embodiments, where the executing entity of each step is the client of the target application. In the following method embodiments, for ease of description, the executing entity of each step will only be described as the "client". The method may include at least one of the following steps (1210-1230):

[0243] Step 1210: Display at least one virtual pet located in the virtual environment.

[0244] Step 1220: In response to a modification operation on the first virtual pet among at least one virtual pet, at least one modification item is displayed. The modification item is used to change the attributes of the first virtual pet, and different modification items have different effects on the attributes of the virtual pet.

[0245] In some embodiments, in response to a modification operation on a first virtual pet, a modification interface is displayed, the modification interface showing at least one modification slot, each of the at least one modification slot corresponding to a placement area for a modification item; in response to a selection operation on the first modification slot in the at least one modification slot, at least one modification item is displayed.

[0246] In some embodiments, when the first modification slot belongs to a first type of modification slot, in response to a selection operation for the first modification slot, at least one modification item for modifying the first virtual pet is displayed. The first type of modification slot refers to a modification slot in which no modification item is placed.

[0247] In some embodiments, when the first modification slot belongs to the second type of modification slot, in response to a selection operation for the first modification slot, at least one modification item for replacing the second modification item is displayed. The second type of modification slot refers to a modification slot in which a modification item has been placed, and the second modification item is a modification item that has been placed in the first modification slot.

[0248] In some embodiments, at least one modification slot may also include a locked modification slot, which is a modification slot in which modification items cannot be placed.

[0249] In some embodiments, when the first virtual pet meets the unlocking conditions for the modification slot, the modification slot in the locked state is changed to the unlocked state, and the modification slot in the unlocked state is the modification slot used to place modification items; wherein, the unlocking conditions for the modification slot include at least one of the following: the level of the first virtual pet is greater than or equal to a first level threshold, the pet duration of the first virtual pet is greater than or equal to a first duration threshold, or the pet type of the first virtual pet is changed to a preset pet type.

[0250] In some embodiments, when a first virtual pet is displayed in a virtual environment, modification slot identification information of the first virtual pet is displayed; wherein, modification slot identification information is used to indicate at least one of the following: the total number of modification slots of the first virtual pet, the number of modification slots of the first virtual pet that are in an unlocked state, the number of modification slots of the first virtual pet that are in a locked state, the number of first-type modification slots of the first virtual pet, and the number of second-type modification slots of the first virtual pet.

[0251] Step 1230, in response to the selection operation of the first modification item among at least one modification item, displays the modified first virtual pet obtained after modifying the first virtual pet based on the first modification item.

[0252] In some embodiments, in response to a selection operation for a first modification item, a selection confirmation interface is displayed, which includes a selection confirmation control.

[0253] In some embodiments, in response to an operation on a selection confirmation control, a first modification tool is used to modify the first virtual pet, and the modified first virtual pet is displayed.

[0254] In some embodiments, when the virtual character and the first virtual pet meet the modification conditions, modification controls are displayed; wherein, the modification operation for the first virtual pet includes the operation for the modification controls; the modification conditions include at least one of the following: the first virtual pet belongs to the virtual character, the distance between the first virtual pet and the virtual character is less than or equal to a distance threshold, and the duration of the virtual character's stay on the first virtual pet is greater than or equal to a second duration threshold.

[0255] In some embodiments, at least one active modification item is displayed, where an active modification item is a modification item that has been selected for modifying the first virtual pet; in response to an upgrade operation for at least one active modification item, at least one active modification item is upgraded.

[0256] In response to the removal of a third modification item from at least one active modification item, a third modification item is added to at least one modification item, and the effect of the third modification item on the attributes of the first virtual pet is removed from the attributes of the first virtual pet.

[0257] In some embodiments, the alteration effect includes at least one of the following: reducing the workload required to produce the first virtual pet; increasing the working speed of the virtual pet; increasing the working ability level of the virtual pet; and increasing the probability of producing additional first virtual pets.

[0258] In some embodiments, the effective modification items corresponding to the first virtual pet are obtained. Effective modification items refer to modification items that have been selected for modification of the first virtual pet. Based on the effective modification items and the first modification item, the attributes of the modified first virtual pet are determined.

[0259] In some embodiments, if the effective modification item and the first modification item meet the merging conditions, the effective modification item and the first modification item are merged to obtain a merged modification item; the attributes of the modified first virtual pet are determined according to the change effect corresponding to the merged modification item; wherein, the merging conditions include at least one of the following: the effective modification item and the first modification item belong to the same type of modification item, or the effective modification item and the first modification item have an association relationship.

[0260] In some embodiments, when the effective modification item and the first modification item are the same type of modification item, the change effect corresponding to the merged modification item is determined to be equal to the sum of the change effect corresponding to the effective modification item and the change effect corresponding to the first modification item; when there is a relationship between the effective modification item and the first modification item, the change effect corresponding to the merged modification item is determined to be equal to the sum of the change effect corresponding to the effective modification item, the change effect corresponding to the first modification item, and the additional change effect, wherein the additional change effect is determined based on the relationship between the effective modification item and the first modification item.

[0261] In some embodiments, change effect indication information is obtained, which is used to indicate the changed attributes obtained by modifying the first virtual pet; at least one set of modification tools that satisfy the change effect indication information is obtained, which is preset for the change effect indication information or generated based on the change effect indication information using an artificial intelligence algorithm; in response to a selection operation for a target group of modification tools in the at least one set of modification tools, it is determined to modify the first virtual pet using the target group of modification tools; wherein the change effect indication information is determined based on at least one of the following: the pet type of the first virtual pet, the role attribute of the virtual character to which the first virtual pet belongs, and user input text.

[0262] In some embodiments, a first modification tool is used to modify a sub-part of a first virtual pet; in response to a selection operation on the first modification tool, structural information of the first virtual pet is displayed, the structural information indicating the various sub-parts included in the first virtual pet; in response to a selection operation on first information in the structural information, it is determined that the first modification tool is used to modify the first sub-part indicated by the first information.

[0263] The technical solution provided in this application, compared to related technologies where the modification of virtual pets generally involves upgrading fixed pet attributes, offers at least one modification item to achieve different changes to the attributes of the virtual pet. This application supports the flexible selection of a first modification item from at least one modification item to modify the virtual pet, demonstrating the flexibility and diversity of virtual pet modification.

[0264] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0265] Please refer to Figure 13 This illustrates a block diagram of a virtual building modification apparatus provided in one embodiment of this application. Figure 13 As shown, the device 1300 may include: a screen display module 1310, a prop display module 1320, and a prop selection module 1330.

[0266] The screen display module 1310 is used to display at least one virtual building located in a virtual environment.

[0267] The prop display module 1320 is used to display at least one modification prop in response to a modification operation on the first virtual building among the at least one virtual buildings. The modification prop is used to change the attributes of the first virtual building, and different modification props have different effects on the attributes of the virtual building.

[0268] The prop selection module 1330 is used to display the modified first virtual building obtained after modifying the first virtual building based on the first modification prop in response to the selection operation of the first modification prop among the at least one modification prop.

[0269] In some embodiments, the prop display module 1320 is configured to display a modification interface in response to a modification operation on the first virtual building, the modification interface displaying at least one modification slot, each of the at least one modification slot corresponding to a placement area for a modification prop; and to display the at least one modification prop in response to a selection operation on a first modification slot among the at least one modification slots.

[0270] In some embodiments, the prop display module 1320 is configured to display at least one modification prop for modifying the first virtual building in response to a selection operation for the first modification slot when the first modification slot belongs to a first type of modification slot, wherein the first type of modification slot refers to a modification slot in which no modification prop is placed.

[0271] In some embodiments, the item display module 1320 is configured to, in response to a selection operation for the first modification slot, display at least one modification item for replacing the second modification item when the first modification slot belongs to a second type of modification slot, wherein the second type of modification slot refers to a modification slot in which the modification item has been placed, and the second modification item is a modification item already placed in the first modification slot.

[0272] In some embodiments, the at least one modification slot may also include a locked modification slot, which is a modification slot in which the modification item cannot be placed.

[0273] In some embodiments, the prop display module 1320 is used to change the modification slot in the locked state to the unlocked state when the first virtual building meets the modification slot unlocking conditions. The modification slot in the unlocked state is a modification slot for placing the modification prop. The modification slot unlocking conditions include at least one of the following: the level of the first virtual building is greater than or equal to a first level threshold, the building duration of the first virtual building is greater than or equal to a first duration threshold, or the building type of the first virtual building is changed to a preset building type.

[0274] In some embodiments, the screen display module 1310 is configured to display modification slot identification information of the first virtual building when the first virtual building is displayed in the virtual environment; wherein the modification slot identification information is used to indicate at least one of the following: the total number of modification slots of the first virtual building, the number of modification slots of the first virtual building in the unlocked state, the number of modification slots of the first virtual building in the locked state, the number of first-type modification slots of the first virtual building, and the number of second-type modification slots of the first virtual building.

[0275] In some embodiments, the prop selection module 1330 is configured to display a selection confirmation interface in response to a selection operation on the first modification prop, the selection confirmation interface displaying a selection confirmation control; and in response to an operation on the selection confirmation control, to modify the first virtual building using the first modification prop and display the modified first virtual building.

[0276] In some embodiments, the virtual environment includes virtual characters.

[0277] In some embodiments, the screen display module 1310 is further configured to display a modification control when the virtual character and the first virtual building meet the modification conditions; wherein the modification operation for the first virtual building includes the operation for the modification control; the modification conditions include at least one of the following: the first virtual building belongs to the virtual character, the distance between the first virtual building and the virtual character is less than or equal to a distance threshold, and the duration of the virtual character's stay in the first virtual building is greater than or equal to a second duration threshold.

[0278] In some embodiments, the prop display module 1320 is also used to display at least one effective modification prop, which refers to a modification prop that has been selected for modifying the first virtual building.

[0279] In some embodiments, the item selection module 1330 is further configured to upgrade the at least one activated modification item in response to an upgrade operation for the at least one activated modification item.

[0280] In some embodiments, the prop selection module 1330 is further configured to, in response to a removal operation of a third modification prop among the at least one active modification props, add the third modification prop to the at least one modification prop, wherein the effect of the third modification prop on the attributes of the first virtual building is removed from the attributes of the first virtual building.

[0281] In some embodiments, the effects of the change include at least one of the following: reducing the workload required to produce the first virtual building; increasing the working speed of the virtual pets working in the first virtual building; increasing the working ability level of the virtual pets working in the first virtual building; increasing the probability of the first virtual building producing additional units; and increasing the storage capacity of the first virtual building.

[0282] In some embodiments, such as Figure 14 As shown, the device also includes an attribute determination module 1340.

[0283] In some embodiments, the attribute determination module 1340 is used to obtain the effective modification tools corresponding to the first virtual building, wherein the effective modification tools refer to the modification tools that have been selected for modifying the first virtual building; and to determine the attributes of the modified first virtual building based on the effective modification tools and the first modification tool.

[0284] In some embodiments, the attribute determination module 1340 is configured to merge the effective modification item and the first modification item to obtain a merged modification item if the effective modification item and the first modification item meet the merging conditions; and determine the attributes of the modified first virtual building according to the change effect corresponding to the merged modification item; wherein the merging conditions include at least one of the following: the effective modification item and the first modification item belong to the same type of modification item, or the effective modification item and the first modification item have an association relationship.

[0285] In some embodiments, the attribute determination module 1340 is configured to, when the effective modification item and the first modification item belong to the same type of modification item, determine that the change effect corresponding to the merged modification item is equal to the sum of the change effect corresponding to the effective modification item and the change effect corresponding to the first modification item; and when there is an association relationship between the effective modification item and the first modification item, determine that the change effect corresponding to the merged modification item is equal to the sum of the change effect corresponding to the effective modification item, the change effect corresponding to the first modification item, and an additional change effect, wherein the additional change effect is determined based on the association relationship between the effective modification item and the first modification item.

[0286] In some embodiments, the prop selection module 1330 is further configured to: acquire change effect indication information, the change effect indication information being used to indicate the changed attributes obtained by modifying the first virtual building; acquire at least one set of modification props that satisfy the change effect indication information, the at least one set of modification props being preset for the change effect indication information, or generated based on the change effect indication information using an artificial intelligence algorithm; and, in response to a selection operation for a target group of modification props in the at least one set of modification props, determine to use the target group of modification props to modify the first virtual building; wherein the change effect indication information is determined based on at least one of the following: the building type of the first virtual building, the role attribute of the virtual character to which the first virtual building belongs, and user input text.

[0287] In some embodiments, the first modification tool is used to modify a sub-building within the first virtual building.

[0288] In some embodiments, the prop selection module 1330 is further configured to, in response to a selection operation for the first modification prop, display structural information of the first virtual building, the structural information indicating various sub-buildings included in the first virtual building; and, in response to a selection operation for first information in the structural information, determine that the first modification prop is used to modify the first sub-building indicated by the first information.

[0289] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0290] Please refer to Figure 15 This diagram illustrates a structural block diagram of a terminal device 1500 provided in one embodiment of this application. The terminal device 1500 may be... Figure 1 The terminal device 10 in the illustrated implementation environment is used to implement the virtual building modification method provided in the above embodiments. Specifically:

[0291] Typically, terminal device 1500 includes a processor 1501 and a memory 1502.

[0292] Processor 1501 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1501 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1501 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1501 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1501 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0293] The memory 1502 may include one or more computer-readable storage media, which may be non-transitory. The memory 1502 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1502 is used to store a computer program configured to be executed by one or more processors to implement the aforementioned method for modifying the virtual building.

[0294] In some embodiments, the terminal device 1500 may also optionally include: a peripheral device interface 1503 and at least one peripheral device. The processor 1501, memory 1502, and peripheral device interface 1503 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1503 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of: a radio frequency circuit 1504, a display screen 1505, an audio circuit 1507, and a power supply 1508.

[0295] Those skilled in the art will understand that Figure 15 The structure shown does not constitute a limitation on the terminal device 1500, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0296] In an exemplary embodiment, a computer-readable storage medium is also provided, wherein a computer program is stored in the storage medium, and the computer program, when executed by a processor, implements the aforementioned method for modifying the virtual building. Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random Access Memory), SSD (Solid State Drives), or optical disc, etc. The random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0297] In an exemplary embodiment, a computer program product is also provided, comprising a computer program stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium and executes the computer program, causing the terminal device to perform the aforementioned method for modifying a virtual building.

[0298] It should be noted that the collection and processing of relevant data (including virtual buildings, renovation operations, etc.) in this application should strictly comply with the requirements of relevant national laws and regulations, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of laws and regulations and the authorization of the personal information subject.

[0299] It should be understood that "multiple" as used herein refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, the step numbers described herein are merely illustrative of one possible execution order. In some other embodiments, the steps may not be executed in numerical order, such as two steps with different numbers being executed simultaneously, or two steps with different numbers being executed in the reverse order of the illustration. This application does not limit this.

[0300] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for transforming a virtual building, characterized in that, The method includes: Display at least one virtual building located in a virtual environment; In response to a modification operation on a first virtual building among the at least one virtual buildings, at least one modification tool is displayed, the modification tool being used to change the attributes of the first virtual building, and different modification tools having different effects on the attributes of the virtual building. In response to the selection operation of the first modification tool among the at least one modification tool, the modified first virtual building obtained after modifying the first virtual building based on the first modification tool is displayed.

2. The method according to claim 1, characterized in that, In response to a modification operation on a first virtual building among the at least one virtual buildings, displaying at least one modification tool includes: In response to a modification operation on the first virtual building, a modification interface is displayed, which displays at least one modification slot, and each modification slot corresponds to a placement area for a modification item. In response to a selection operation for a first modification slot in the at least one modification slot, the at least one modification item is displayed.

3. The method according to claim 2, characterized in that, The response to a selection operation for a first modification slot in the at least one modification slot, displaying the at least one modification item, includes: If the first modification slot belongs to the first type of modification slot, in response to the selection operation for the first modification slot, at least one modification item for modifying the first virtual building is displayed. The first type of modification slot refers to a modification slot where no modification item is placed.

4. The method according to claim 2, characterized in that, The response to a selection operation for a first modification slot in the at least one modification slot, displaying the at least one modification item, includes: If the first modification slot belongs to the second type of modification slot, in response to the selection operation for the first modification slot, at least one modification item for replacing the second modification item is displayed. The second type of modification slot refers to the modification slot where the modification item has been placed, and the second modification item is the modification item that has been placed in the first modification slot.

5. The method according to any one of claims 2 to 4, characterized in that, The at least one modification slot also includes a modification slot in a locked state, which is a modification slot in which the modification item cannot be placed. The method further includes: When the first virtual building meets the unlocking conditions for the modification slot, the modification slot that is in the locked state is changed to the unlocked state. The modification slot that is in the unlocked state is the modification slot used to place the modification item. The unlocking conditions for the modification section include at least one of the following: the level of the first virtual building is greater than or equal to the first level threshold, the building duration of the first virtual building is greater than or equal to the first duration threshold, or the building type of the first virtual building is changed to a preset building type.

6. The method according to claim 5, characterized in that, The method further includes: If the first virtual building is displayed in the virtual environment, display the modification field identifier information of the first virtual building; The modification slot identification information is used to indicate at least one of the following: the total number of modification slots in the first virtual building, the number of modification slots in the first virtual building that are in the unlocked state, the number of modification slots in the first virtual building that are in the locked state, the number of first-type modification slots in the first virtual building, and the number of second-type modification slots in the first virtual building.

7. The method according to any one of claims 1 to 6, characterized in that, In response to the selection operation of the first modification tool among the at least one modification tool, the modified first virtual building obtained after modifying the first virtual building based on the first modification tool is displayed, including: In response to the selection operation for the first modification item, a selection confirmation interface is displayed, which displays a selection confirmation control. In response to the operation of the selection confirmation control, the first virtual building is modified using the first modification tool, and the modified first virtual building is displayed.

8. The method according to any one of claims 1 to 7, characterized in that, The virtual environment includes virtual characters, and the method further includes: If the virtual character and the first virtual building meet the modification conditions, the modification controls are displayed; The modification operation for the first virtual building includes the operation for the modification control; the modification conditions include at least one of the following: the first virtual building belongs to the virtual character, the distance between the first virtual building and the virtual character is less than or equal to a distance threshold, and the duration of the virtual character's stay in the first virtual building is greater than or equal to a second duration threshold.

9. The method according to any one of claims 1 to 8, characterized in that, The method further includes: Display at least one active modification item, which refers to a modification item that has been selected to modify the first virtual building; In response to an upgrade operation for the at least one active modification item, upgrade the at least one active modification item.

10. The method according to claim 9, characterized in that, The method further includes: In response to the removal operation of the third modification item in the at least one active modification item, the third modification item is added to the at least one modification item, and the effect of the third modification item on the attributes of the first virtual building is removed from the attributes of the first virtual building.

11. The method according to any one of claims 1 to 10, characterized in that, The changes include at least one of the following: Reduce the workload required to produce the first virtual building; Increase the working speed of the virtual pets working in the first virtual building; Increase the work ability level of the virtual pets working in the first virtual building; Increase the probability of the first virtual building producing additional units; Increase the storage capacity of the first virtual building.

12. The method according to any one of claims 1 to 11, characterized in that, The method further includes: Obtain the effective modification items corresponding to the first virtual building, wherein the effective modification items refer to the modification items that have been selected for modifying the first virtual building; Based on the already effective modification tool and the first modification tool, determine the attributes of the modified first virtual building.

13. The method according to claim 12, characterized in that, The step of determining the attributes of the modified first virtual building based on the already activated modification tool and the first modification tool includes: If the effective modification item and the first modification item meet the merging conditions, merge the effective modification item and the first modification item to obtain the merged modification item; Based on the changes in the merged modification props, determine the attributes of the first virtual building after modification; The merging conditions include at least one of the following: the effective modification item and the first modification item belong to the same type of modification item; or the effective modification item and the first modification item have an association relationship.

14. The method according to claim 13, characterized in that, The method further includes: If the effective modification item and the first modification item are of the same type, the change effect of the merged modification item is determined to be equal to the sum of the change effect of the effective modification item and the change effect of the first modification item. If there is a correlation between the effective modification item and the first modification item, the change effect corresponding to the merged modification item is determined to be equal to the sum of the change effect corresponding to the effective modification item, the change effect corresponding to the first modification item, and the additional change effect, wherein the additional change effect is determined based on the correlation between the effective modification item and the first modification item.

15. The method according to any one of claims 1 to 14, characterized in that, The method further includes: Obtain change effect indication information, which is used to indicate the changed attributes obtained by modifying the first virtual building; Obtain at least one set of modification tools that satisfy the change effect indication information, wherein the at least one set of modification tools is preset for the change effect indication information, or is generated based on the change effect indication information using an artificial intelligence algorithm; In response to a selection operation for a target group of modification items in the at least one group of modification items, it is determined to use the target group of modification items to modify the first virtual building; The change effect indication information is determined based on at least one of the following: the building type of the first virtual building, the role attribute of the virtual character to which the first virtual building belongs, and the user input text.

16. The method according to any one of claims 1 to 15, characterized in that, The first modification tool is used to modify sub-buildings within the first virtual building; the method further includes: In response to the selection operation for the first modification prop, the structural information of the first virtual building is displayed, the structural information being used to indicate the various sub-buildings included in the first virtual building; In response to a selection operation for the first information in the structural information, it is determined that the first modification tool is used to modify the first sub-building indicated by the first information.

17. A device for transforming virtual buildings, characterized in that, The device includes: A screen display module for displaying at least one virtual building located in a virtual environment; The prop display module is used to display at least one modification prop in response to a modification operation on the first virtual building among the at least one virtual buildings. The modification prop is used to change the attributes of the first virtual building, and different modification props have different effects on the attributes of the virtual building. The prop selection module is used to respond to the selection operation of the first modification prop among the at least one modification prop, and to display the modified first virtual building obtained after modifying the first virtual building based on the first modification prop.

18. A terminal device, characterized in that, The terminal device includes a processor and a memory, the memory storing a computer program, which is loaded and executed by the processor to implement the virtual building modification method as described in any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the method for modifying a virtual building as described in any one of claims 1 to 16.

20. A computer program product, characterized in that, The computer program product includes a computer program that is loaded and executed by a processor to implement the method for transforming a virtual building as described in any one of claims 1 to 16.