Portfolio items created indefinitely from external API. Every time different number

I am trying to make new portfolio item for every json item from external api. I am working on WordPress and placed my code in functions.php of the theme used. When i run my code, it creates portfolio items more than necessary. The items seem to randomly get duplicated even tho i have made validation statement and made sure that each post lug is unique. I want it to stop when the array in json file finishes. Unfortunately I can’t share the api link because it is not supposed to be open-source. It consists of one page. $ model and $ results get correct info. I am new to these WP functions and API thing and got really confused at this point. Hope someone can help me out!:

add_action('wp_ajax_nopriv_get_3dmodels_from_api', 'get_3dmodels_from_api'); add_action('wp_ajax_get_3dmodels_from_api', 'get_3dmodels_from_api');  function get_3dmodels_from_api(){          $  results = wp_remote_retrieve_body(wp_remote_get('<api-url-here>',  array(         'timeout'     => 120,         'httpversion' => '1.1',     ) ) );            $  results = json_decode($  results);     //print_r($  results);           foreach($  results->scenes as $  model) {                  $  model_slug = sanitize_title($  model->name. '-' . $  model->id);                  $  existing_model = get_page_by_path($  model_slug, 'OBJECT', 'portfolio');          if ($  existing_model === null) {              $  inserted_model = wp_insert_post([                 'post_name'=> $  model_slug,                 'post_title'=> $  model_slug,                 'post_type'=> 'portfolio',                 'post_status' => 'publish',             ]);                          if (is_wp_error($  inserted_model)) {                 return false;             }                      $  fillable = [                 'field_605dcef7001bc' => 'name',                 'field_605dcf01001bd' => 'description',                 'field_605dcf09001be' => 'category',                 'field_605dcf13001bf' => 'preview',             ];                          foreach($  fillable as $  key => $  name) {                 $  model_content = $  model->$  name;                                  if ($  name == 'preview') {                     $  model_content = '<img src=' . $  model->$  name . '" alt="">';                 }                                  update_field($  key, $  model_content, $  inserted_model);             }         }  wp_remote_post(admin_url ('admin-ajax.php?action=get_3dmodels_from_api'), [         'blocking' => false,         'sslverify' => false,     ]); } 

Thank you!

New And 2014-2021 Created Gmail Sell (Forwarding Mail Also Availble)

Unlimited New And 2014-2021 Created Verified Old Gmail Sell (Forwarding Mail Also Availble)
new gmails with 7days replacement guarranty
Price:-               20 Gmail 8$
                       50 gmail 15$
                       100 Gmail 25$
Old Gmail Price Depend How Old gmail You need.I have Multiple Years Old gmail Like 2014/2016/2018/2019/2020 and new
                         I have Unlimited Old and New gmail in Stock
Contact Me:-   
                       Skype :-  saikat-nakib
            Facebook  :-  fb.com/me.nakib
                 FB Massenger:-  m.me/me.nakib
           Instagram  :- instagram.com/SaikatNakib/
             Telegram :- t.me/me_nakib
            Whatsapp  :-  +8801995177888
              twitter :-  twitter.com/SaikatNakib
        Mail/hangouts :-  saikatnakib@gmail.com

How much XP does a monster created by Animate Objects add to an encounter?

I am making a boss fight. The boss can cast animate objects, a spell that can animate statues.

The spell gives information for, eg., 1 Large Construct:

Large – HP: 50, AC: 10, Attack: +6 to hit, 2d10 + 2 damage, Str: 14, Dex: 10

How much XP should I award for this Large construct?

I’m estimating CR1 (200XP) each.

Using some homebrew i created. How to design a level 1 encounter with 7 level 1 characters

Me and my friends decided to play some dnd 5th edition. The issue is, though i am a long term DM i am only well-versed in the rules for 3.5e and Pathfinder 1st, same as Open Legend but it uses a completely different base system than the other ones.

I am essentially playing in a world that has been changed by the invention of Magitek. Technically it was discovered by some ancient ruins by the big empires expedition into the wilderness, though they honed and reverse engineered all that old tech in those ruins.

Right now my adventuring party is about to meet in the common tavern setting. All of those characters are of level 1 and consist of:

-Life Cleric

-Artificer

-Barbarian

-Monk

-The UA Pheonix Sorcerer with a few tweaks.

-A warlock with homebrew. Pact of the Vengeful Spirit as a mounted warlock kind of deal.

-Blood Hunter

Right now i want to make a small adventure playing in a neutral swiss like country, which is outside of the large and political conflicts of this world. To get the characters to bond in a more neutral environment. Since 1 Character comes from the "evil" empire and the other 3 come from it’s natural enemy. So to build up a group i decided to let them start in a neutral environment. Though i would like to introduce that little homebrew i entered into the world.

Magitek Items or rather Items with the Magitek Keyword are like magical items, but require fuel to sustain themselves for a more beneficial effect. What i was thinking of was that a Beast Tribe with enough Intelligence, probably Goblinoids, stole some shipments from the place they are currently situated at and are using that to raid the lands.

Though personally with a relatively balanced lineup of characters and essentially 7 turns in player character action economy. I personally do not know how to make an engaging encounter for them or multiple during this mini-adventure so that the players feel challenged and feel that this is an actual threat if these items get out of control. Obviously i would also not hand my players magitek items early on in the campaign. The Life Cleric is a Kleptomaniac. So should i maybe build in a failsafe ?

I’d require some good help for encounter building against overwhelming action economy in 5e as in 3.5 or pathfinder 1st i can handle it. Though there i feel it is quite confusing. Any advice is helpful here.

Thanks for the help in advance.

How complex of an object can be created via the Creation spell?

Inspired by this question about creating gunpowder with the Creation spell.

My reading of the spell (and components) would indicate that the spell can only create an item (or multiple items1) but of a single "type". This comes from most of the description using singular form when referring to type.

From the spell description:

You pull wisps of shadow material from the Shadowfell to create a nonliving object of vegetable matter within range: soft goods, rope, wood, or something similar. You can also use this spell to create mineral objects such as stone, crystal, or metal. The object created must be no larger than a 5-foot cube, and the object must be of a form and material that you have seen before.

And the required components:

Components: V, S, M (a tiny piece of matter of the same type of the item you plan to create)

But the linked question tries to create gunpowder; a combination of "a fuel (charcoal), an oxidizer (saltpeter or niter), and a stabilizer (sulfur) to allow for a constant reaction". This is not only multiple types of matter, but different types; some vegetable, some mineral 2.

There is also no mention of the time being different; as in, using the shortest duration of all types used in the creation.

I would think that if the spell was to able to create mixed types it would have very different phrasing.

So is the Creation spell limited to only one type of matter at a time, or can it be a combination of matter/types?

And if it possible to create something with multiple/mixed types, how complex can the item be?

  • Can they mix different elements of the same type like an apple and an orange to create a fruit salad?
  • Can they create a leather coat with a fur lining and metal buttons? Or would they have to create each thing separately and sew them together by hand?
  • How about a metal crown, with cloth padding on the interior and encrusted with gems?
  • They can create iron, but can they also create it fused with carbon to create steel?
  • People could be considered a combination of vegetable matter and minerals. Could a character create a corpse (nonliving object)?

1 I would also think that this creates only a single item (a rope), except for minerals it states "You can also use this spell to create mineral objects…". Otherwise the description sticks to singular object.

2 Admittedly, something like this could be done with multiple castings, each creating a specific type of matter. But the point of the question was do create a complete pile of gunpowder.

Does the shield of faith spell combines with mirror image spell to provide an AC boost to the illusory duplicates created via mirror image?

Spell synergy question.

Casting order is mirror image spell first so the illusory duplicates AC are set and then adding in shield of faith spell, creating a barrier "around" the creature mirror image was cast on and if I am right around the occupied space of said creature, so this would include the illusory duplicates.

Would the "shield of faith" spell(description: A shimmering field appears and surrounds a creature of your choice within range, granting it a +2 bonus to AC for the duration.) provide an AC boost to the illusory duplicates created via the "mirror image" spell(description: Three illusory duplicates of yourself appear in your space. Until the spell ends, the duplicates move with you and mimic your actions, shifting position so it’s impossible to track which image is real. You can use your action to dismiss the illusory duplicates.) given that they are all occupying the same space and moving in sync(mimic your actions).

If this is indeed how these 2 spells sync, the illusory duplicates would instead have 15 AC each instead of 13 AC while also boosting the original creatures AC by +2.

Can undead created by Animate Dead use magic wands?

One of my players learned the Animate Dead spell. He asked me if he could equip his zombies and skeletons with weapons (Which is possible) or wands.

I’m pretty sure that undead can’t use any magic item that requires attunement as there is no mentioning of skeletons/zombies being able to attune to magic items, but I’m not sure wether they can use wands or other magic items that don’t require attunement.

In the description of the skeleton in the MM it states

Obedient Servants … A skeleton can fight with weapons and wear armor, can load and fire a catapult or trebuchet, scale a siege ladder, form a shield wall, or dump boiling oil. However, it must receive careful instructions explaining how such tasks are accomplished. …

The description of the zombie states:

Mindless Soldiers … A zombie armed with a weapon uses it, but the zombie won’t retrieve a dropped weapon or other tool until told to do so.

Based on this I’d deduce that those undead can only fight using weapons and not magic wands. On the other hand I didn’t find anything that explicitly states that it’s not possible.

Is there any other source that explicitly states that it’s possible/not possible

Can Plane Shift be used to transport from mordenkainen’s magnificent mansion to the same plane the mansion was created?

The text of Mordenkainen’s Magnificent Mansion (mmm) states:

You conjure an extradimensional dwelling in range that lasts for the Duration.

Plane Shift states:

You and up to eight willing creatures who link hands in a circle are transported to a different plane of existence.

Can a party plane shift from the mansion to the same plane they where in when they created the mansion? i.e. they create the mansion in the material plane, go into the mansion and then plane shift to a new location in the material plane?

Why are the links not created?

Hello!
I just noticed an important detail but I don’t know what it is, when creating links using a premium list.
Step to detail:
When I start a campaign using the premium list, GSA SER begins to create links quickly at the beginning, in seconds I have been able to observe that the VPM: 0.50 max (in my case)
After about 6 hours I have managed to get a maximum of 120 links, and the VPM drops to 0. Without filters, totally without filters so that many links can be created.
But that’s not the problem …
After 1-2 days GSA SER still does not create links, creates 1 to 3 links per day, USING THE PREMIUM LIST, Without filters!
I’m beginning to doubt that it can be the lists.
Because I say this …
Currently I have a paused campaign that was done with GSA SER + Scrapebox to harvest and create links. This campaign from the first day has created links without stopping, to such an extent that I have used the filter to pause the campaign every 120 verified links, which is great.
So, drawing preliminary conclusions you could say that the VPS, proxies, emails cannot be the problem.
I do not know exactly if they are the lists or some synchronization configuration is incorrect.
People who use premium lists, could you give me some advice or comment, I would greatly appreciate it.

Can you summon a spiritual weapon into the bubble created by Bead of Force? Can whoever is inside cast charm person on someone outside the bubble?

The wording for Bead of Force says "Only breathable air can pass through the sphere’s wall. No Attack or other Effect can." which obviously means that spells such as firebolt or ray of sickness could not harm a creature inside. However, what about spells that only require line of sight?

I’ve read the discourse on Wall of Force, which suggests that you would not be able to do such spells, and the wording is similar to Bead of Force.